Skip to main content

DiceBear EUVDEUVD-2026-63657

| CVE-2026-68921 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-20 security-advisories@github.com GHSA-gcr2-9v8m-gq45
4.7
CVSS 3.1 · Vendor: github
Share

Severity by source

Vendor (github) PRIMARY
4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
Aug 20, 2026 - 22:04 EUVD
Source Code Evidence Fetched
Aug 20, 2026 - 21:36 vuln.today
Analysis Generated
Aug 20, 2026 - 21:36 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 41 npm packages depend on @dicebear/core (36 direct, 5 indirect)
  • 2 npm packages depend on @dicebear/initials (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 9.4.3 and other introduced versions.

DescriptionCVE.org

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.

AnalysisAI

SVG attribute injection in @dicebear/core and @dicebear/initials prior to 9.4.3 enables cross-site scripting when an application routes untrusted input through the rotate, fontSize, or fontWeight avatar options. TypeScript types these parameters as numbers, but JavaScript runtime coercion allows string values, permitting attribute breakout and injection of arbitrary SVG markup — payloads confirmed in the commit test suite include onerror-carrying <image> elements. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

EUVD-2026-63657 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy