p PatchFirst

PatchFirst · Latest vulnerabilities

@dicebear/initials vulnerabilities

Vulnerabilities published for @dicebear/initials in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-68921

    Medium · CVSS 4.7EPSS 0.29%Fix available

    DiceBear: SVG injection via the unescaped rotate option in @dicebear/core (and fontSize/fontWeight in @dicebear/initials)

    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 requ

    • Update to 9.4.3
    Published Updated
  2. CVE-2026-33311

    Medium · CVSS 4.7EPSS 0.19%Fix available

    @dicebear/core and @dicebear/initials Vulnerable to SVG Injection via Unsanitized Options

    DiceBear is an avatar library for designers and developers. Starting in version 5.0.0 and prior to versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, SVG attribute values derived from user-supplied options (`backgroundColor`, `fontFamily`, `textColor`) were not XML-escaped before interpolation into SVG output. This could allow Cross-Site Scripting (XSS) when applications pass untrusted input to `createAvatar()` and serve the resulting SVG inline or with `Content-Type: image/svg+xml`. Starting in versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, all affected SVG attribute values are properly escaped using XML entity encoding. Users should upgrade t

    • Update to 5.4.4
    • Update to 6.1.4
    • Update to 7.1.4
    • Update to 8.0.3
    • Update to 9.4.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →