CVE-2026-33311: DiceBear is an avatar library for designers and developers
CVE-2026-33311 is a medium-severity flaw (CVSS 4.7) affecting dicebear. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.7 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 92%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-03-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-33311?
dicebear: upgrade to 5.4.4, 6.1.4, 7.1.4, 8.0.3, 9.4.1. Exact commands for each OS are on this page.
Is CVE-2026-33311 being exploited?
CVE-2026-33311 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-33311 affect?
CVE-2026-33311 affects dicebear. Severity is medium (CVSS 4.7). 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`, `te
How urgent is CVE-2026-33311?
Priority 19/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-33418 HIGH 7.5 UPGRADE DiceBear is an avatar library for designers and developers
- CVE-2026-29112 HIGH 7.5 UPGRADE DiceBear is an avatar library for designers and developers