CVE-2026-68921

MEDIUM
MEDIUM Priority: 0.01 BB Relevance: 49/100
Published: 2026-08-20 Modified: 2026-10-26 First seen: 2026-10-29 Status: active

Attack Surface

Network No Auth Scope Change

CVSS Vector Breakdown

AV: Network
AC: High
PR: None
UI: Required
S: Changed
C: Low
I: Low
A: None

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.

Weakness Classification (2)

Bug Bounty Relevance

49 / 100
✓ Network accessible
✓ No authentication

CVSS Score

4.7 / 10.0 v3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS — Exploitation Probability

0.29%
Raw Score 0.002860
Percentile 21.1%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00286
2026-10-28
0.00286

Intelligence Sources

nvd ref →