CVE-2018-6341
Facebook react-dom
MEDIUM 6.1
En bref
- Source
- NVD
- EPSS
- EPSS 3.43 % · centile 89 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Statut NVD
- Modified
Description
React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.
Faiblesses (CWE)
- CWE-79 — Injection de code indirecte (XSS)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
| CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-mvjj-gqq2-p4hw — Cross-Site Scripting in react-dom
Références européennes
- ENISA EUVD · EUVD-2019-0190
- GCVE · GCVE-0-2018-6341
Avis du CERT-FR
- CERTFR-2025-AVI-0279 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*≥ 16.0.0 < 16.0.1cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*≥ 16.1.0 < 16.1.2cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*≥ 16.2.0 < 16.2.1cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*≥ 16.3.0 < 16.3.3cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*≥ 16.4.0 < 16.4.2
Produits affectés
| Produit | Versions |
|---|---|
| Facebook · react-dom | affected 16.4.2 ; affected 16.4.0 < unspecified ; affected 16.3.3 ; affected 16.3.0 < unspecified ; affected 16.2.1 ; affected 16.2.0 < unspecified |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |