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.
CVE-2026-68921
This medium-severity CVE scores 4.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 87% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.7
- EG Score
- 4.7(medium)
- EG Risk
- 21(Track)EG Risk 21/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity47% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 13%
- KEV
- Not listed
Published
August 20, 2026
Last Modified
August 21, 2026
Advisory Details (2)
Auto-updated Aug 20, 2026SVG injection via the unescaped rotate option in @dicebear/core (and fontSize/fontWeight in @dicebear/initials) · Advisory · dicebear/dicebear · GitHub
https://github.com/dicebear/dicebear/security/advisories/GHSA-gcr2-9v8m-gq45commit 922946d738c4 (dicebear/dicebear)
Fix landed in dicebear/dicebear commit 922946d738c4 — awaiting tagged release
https://github.com/dicebear/dicebear/commit/922946d738c4e77ab6c412e27ede75941fec4b59Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 00:33 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 02:55 UTCEG score recompute
- 2026-08-23 07:36 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 09:58 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 12:19 UTCEG score recompute
- 2026-08-21 11:39 UTCEG score recompute
- 2026-08-20 21:17 UTCEG score recompute
- 2026-08-20 21:16 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-68921?
When was CVE-2026-68921 disclosed?
Is CVE-2026-68921 actively exploited?
What is the CVSS score of CVE-2026-68921?
How do I remediate CVE-2026-68921?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-68921
Is Your Infrastructure Affected by CVE-2026-68921?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.