Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

@dicebear/core and @dicebear/initials Vulnerable to SVG Injection via Unsanitized Options

CVSS 3.1 4.7 MEDIUMEUVD CVSS 3.1 4.7 CVSS 3.1 · [email protected] · Secondary 4.7 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by @dicebear/core 5.4.4Fixed by @dicebear/core 6.1.4Fixed by @dicebear/core 7.1.4Fixed by @dicebear/core 8.0.3KEV status unknown

cve-program · CVE-2026-33311

Published

DiceBear is an avatar library for designers and developers. Starting in version 5.0.0 and prior to versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, SVG attribute values derived from user-supplied options (`backgroundColor`, `fontFamily`, `textColor`) were not XML-escaped before interpolation into SVG output. This could allow Cross-Site Scripting (XSS) when applications pass untrusted input to `createAvatar()` and serve the resulting SVG inline or with `Content-Type: image/svg+xml`. Starting in versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, all affected SVG attribute values are properly escaped using XML entity encoding. Users should upgrade to the listed patched versions. Some mitigating factors limit vulnerability. Applications that validate input against the library's JSON Schema before passing it to `createAvatar()` are not affected. The DiceBear CLI validates input via AJV and was not vulnerable. Exploitation requires that an application passes untrusted, unvalidated external input directly as option values.

Read the publisher's advisory

euvd · EUVD-2026-20088

Published

DiceBear is an avatar library for designers and developers. Starting in version 5.0.0 and prior to versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, SVG attribute values derived from user-supplied options (`backgroundColor`, `fontFamily`, `textColor`) were not XML-escaped before interpolation into SVG output. This could allow Cross-Site Scripting (XSS) when applications pass untrusted input to `createAvatar()` and serve the resulting SVG inline or with `Content-Type: image/svg+xml`. Starting in versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, all affected SVG attribute values are properly escaped using XML entity encoding. Users should upgrade to the listed patched versions. Some mitigating factors limit vulnerability. Applications that validate input against the library's JSON Schema before passing it to `createAvatar()` are not affected. The DiceBear CLI validates input via AJV and was not vulnerable. Exploitation requires that an application passes untrusted, unvalidated external input directly as option values.

Read the publisher's advisory

nvd · CVE-2026-33311

Published

DiceBear is an avatar library for designers and developers. Starting in version 5.0.0 and prior to versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, SVG attribute values derived from user-supplied options (`backgroundColor`, `fontFamily`, `textColor`) were not XML-escaped before interpolation into SVG output. This could allow Cross-Site Scripting (XSS) when applications pass untrusted input to `createAvatar()` and serve the resulting SVG inline or with `Content-Type: image/svg+xml`. Starting in versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, all affected SVG attribute values are properly escaped using XML entity encoding. Users should upgrade to the listed patched versions. Some mitigating factors limit vulnerability. Applications that validate input against the library's JSON Schema before passing it to `createAvatar()` are not affected. The DiceBear CLI validates input via AJV and was not vulnerable. Exploitation requires that an application passes untrusted, unvalidated external input directly as option values.

Read the publisher's advisory

osv · GHSA-mr9r-mww3-v6gv

Published

## Summary SVG attribute values derived from user-supplied options (`backgroundColor`, `fontFamily`, `textColor`) were not XML-escaped before interpolation into SVG output. This could allow Cross-Site Scripting (XSS) when applications pass untrusted input to `createAvatar()` and serve the resulting SVG inline or with `Content-Type: image/svg+xml`. ## Affected packages - **`@dicebear/core`** — `backgroundColor` option values interpolated into SVG attributes without escaping (affects `solid` and `gradientLinear` background types) - **`@dicebear/initials`** — `fontFamily` and `textColor` option values interpolated into SVG attributes without escaping ## Fix All affected SVG attribute values are now properly escaped using XML entity encoding. Users should upgrade to the listed patched versions. ## Mitigating factors - Applications that validate input against the library's JSON Schema before passing it to `createAvatar()` are not affected - The DiceBear CLI validates input via AJV and was not vulnerable - Exploitation requires that an application passes untrusted, unvalidated external input directly as option values

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-33311

Published

dicebear

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "dicebear",
                    "product": "dicebear",
                    "versions": [
                        {
                            "version": ">= 5.0.0, < 5.4.4",
                            "status": "affected"
                        },
                        {
                            "version": ">= 6.0.0, < 6.1.4",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.0.0, < 7.1.4",
                            "status": "affected"
                        },
                        {
                            "version": ">= 8.0.0, < 8.0.3",
                            "status": "affected"
                        },
                        {
                            "version": ">= 9.0.0, < 9.4.1",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-20088

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Mar 24, 2026, 1:23:43 PM

dateUpdated: Mar 26, 2026, 1:06:31 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-33311

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-79

Original publisher date fields

published: 2026-03-24T14:16:30.290

lastModified: 2026-06-17T10:37:18.110

1 source CPE criteria · context only
  • cpe:2.3:a:dicebear:dicebear:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-mr9r-mww3-v6gv

Published

@dicebear/core

npm

SEMVER · introduced 5.0.0 → fixed 5.4.4

@dicebear/core

npm

SEMVER · introduced 6.0.0 → fixed 6.1.4

@dicebear/core

npm

SEMVER · introduced 7.0.0 → fixed 7.1.4

@dicebear/core

npm

SEMVER · introduced 8.0.0 → fixed 8.0.3

@dicebear/core

npm

SEMVER · introduced 9.0.0 → fixed 9.4.1

@dicebear/initials

npm

SEMVER · introduced 5.0.0 → fixed 5.4.4

@dicebear/initials

npm

SEMVER · introduced 6.0.0 → fixed 6.1.4

@dicebear/initials

npm

SEMVER · introduced 7.0.0 → fixed 7.1.4

@dicebear/initials

npm

SEMVER · introduced 8.0.0 → fixed 8.0.3

@dicebear/initials

npm

SEMVER · introduced 9.0.0 → fixed 9.4.1

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 16 Nov 10:01 UTC · 274 of 275 readable · 252 fully read · 18 waiting for GitHub's hourly limit · documentation 469/469 current