CVE-2026-68921
Last modified
CVE-2026-68921 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. DiceBear is an avatar library for designers and developers. Prior to 9.4.3, @dicebear/core interpolates the rotate option into an SVG transform attribute without XML escaping in addRotate in packages/@dicebear/core/src/utils/svg.ts, while @dicebear/initials similarly emits fontSize and fontWeight without escaping in packages/@dicebear/initials/src/index.ts. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
DiceBear is an avatar library for designers and developers. Prior to 9.4.3, @dicebear/core interpolates the rotate option into an SVG transform attribute without XML escaping in addRotate in packages/@dicebear/core/src/utils/svg.ts, while @dicebear/initials similarly emits fontSize and fontWeight without escaping in packages/@dicebear/initials/src/index.ts. Runtime callers can pass strings despite the numeric TypeScript types, break out of the attributes, and inject arbitrary SVG markup. Script can execute in the page origin when the generated avatar is inserted inline or served as image/svg+xml and opened directly, although exploitation requires an application to pass untrusted values into these normally developer-controlled options. This issue is fixed in @dicebear/core and @dicebear/initials version 9.4.3.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| dicebear | dicebear | < 9.4.3 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-68921?
How severe is CVE-2026-68921?
How do I fix CVE-2026-68921?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-68901Wekan is open source kanban built with Meteor. Prior to 10.3…6.5
- CVE-2026-68904node-opcua is an OPC UA implementation for TypeScript and No…7
- CVE-2026-6891Improper handling of symbolic links in the installer of My I…5.1
- CVE-2026-68914Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-68919GoCD is a continuous deliver server. From 13.3.0 until 26.1.…7
- CVE-2026-6892Improper handling of symbolic links in the installer of CUPS…5.1
- CVE-2026-68922MobSF is a mobile application security testing tool used. Pr…5.5
- CVE-2026-68923MobSF is a mobile application security testing tool used. Pr…6.5
- CVE-2026-68924MobSF is a mobile application security testing tool used. Pr…4.9
- CVE-2026-68927MobSF is a mobile application security testing tool used. Pr…3
- CVE-2026-68928Acode is a powerful text and code editor for Android. From 1…8.6
- CVE-2026-68929FastGPT is an open-source LLM platform for building AI appli…9.3
Are you affected by CVE-2026-68921?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
