CVE-2018-6341Facebook React
Media 6.1 Sin autenticación
Seguir: esta CVE · Facebook · Facebook React Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 3.4% probabilidad de explotación en 30 días · percentil 90
- Requiere autenticación
- No
- Publicada
- 31 dic 2018
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para React.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | react-dom |
≥ 16.0.0 < 16.0.1 |
16.0.1 |
npm install react-dom@16.0.1 |
| npm | react-dom |
≥ 16.1.0 < 16.1.2 |
16.1.2 |
npm install react-dom@16.1.2 |
| npm | react-dom |
≥ 16.2.0 < 16.2.1 |
16.2.1 |
npm install react-dom@16.2.1 |
| npm | react-dom |
≥ 16.3.0 < 16.3.3 |
16.3.3 |
npm install react-dom@16.3.3 |
| npm | react-dom |
≥ 16.4.0 < 16.4.2 |
16.4.2 |
npm install react-dom@16.4.2 |
Según OSV / GitHub Advisories (GHSA-mvjj-gqq2-p4hw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| react | ≥ 16.0.0 < 16.0.1 | |
| react | ≥ 16.1.0 < 16.1.2 | |
| react | ≥ 16.2.0 < 16.2.1 | |
| react | ≥ 16.3.0 < 16.3.3 | |
| react | ≥ 16.4.0 < 16.4.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- reactjs.org Vendor Advisory
- twitter.com Vendor Advisory