1. Accueil
  2. Vulnérabilités
  3. CVE-2026-33311

CVE-2026-33311

DiceBear is an avatar library for designers and developers. Starting in version 5.0.0 and prior to versions…

Publiée le 24 mars 2026 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 25/100

Résumé

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 to the listed patched versions. Some mitigating factors limit vulnerability. Applications that validate input against the library's JSON Schema before passing it to `createAvatar()` are not affected. The DiceBear CLI validates input via AJV and was not vulnerable. Exploitation requires that an application passes untrusted, unvalidated external input directly as option values.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Dicebear (5 ligne(s))
Dicebear
ProduitVersionsCorrigé dansSource
Dicebear de 5.0.0 (inclus) à 5.4.4 (exclu) — NVD
Dicebear de 6.0.0 (inclus) à 6.1.4 (exclu) — NVD
Dicebear de 7.0.0 (inclus) à 7.1.4 (exclu) — NVD
Dicebear de 8.0.0 (inclus) à 8.0.3 (exclu) — NVD
Dicebear de 9.0.0 (inclus) à 9.4.1 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-79 · Script intersite (XSS)

Comment sont obtenues et calculées ces données