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

CVE-2026-114128

Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering

Publiée le 21 oct. 2026 · modifiée le 23 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 36/100

Résumé

Astro is a web framework for content-driven websites. Prior to 7.3.2, Astro's JSX and MDX rendering pipeline treats string children of script and style elements as trusted HTML without distinguishing compiler-generated literal content from dynamic expression values. An application that passes attacker-controlled data directly as a dynamic child can allow a value containing a closing script or style tag to terminate the element and inject arbitrary HTML and JavaScript. Other JSX expression contexts escape dynamic strings automatically; the issue is limited to script and style children rendered through the astro:jsx renderer, including MDX components. Successful exploitation can produce reflected or stored cross-site scripting under the application's origin. This issue is fixed in 7.3.2.

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

Produits et versions affectés

withastro (1 ligne(s))
withastro
ProduitVersionsCorrigé dansSource
astro Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
astro avant 7.3.2 (exclu) 7.3.2 GitHub Advisory

Correctif

Mise à jour — npm/astro 7.3.2source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

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

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

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

Comment sont obtenues et calculées ces données