npm package report

Is @dicebear/core safe?

2 known vulnerabilities, worst severity MODERATE.

cvss
4.7

how bad it is if exploited, out of 10

epss
0.20%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-gcr2-9v8m-gq45, the advisory selected below

// advisories

GHSA-gcr2-9v8m-gq45

MODERATECVE-2026-68921

@dicebear/core builds avatar SVGs from caller-supplied options. The numeric rotate option is interpolated into an SVG transform attribute without XML-escaping. It is typed as a number, but nothing checks the type at runtime, so a string value passes straight through and can break out of the attribute to inject arbitrary SVG markup.

Affected
<= 9.4.2
Fixed in
9.4.3
Weakness
CWE-79
Published
2026-09-02
Source
github

GHSANVDMITREreferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 02:52 UTC. The most recent advisory here was published 2026-09-02. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @dicebear/core safe? npm package security report | CyberXYZ