GHSA-MMHX-HMJR-R674
DOMPurify allows tampering by prototype pollution
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 3.1.3 | dompurify · -128 d desde divulgación | |
| Remediación | Parche 2.5.4 | dompurify · -119 d desde divulgación | |
| Divulgación | Publicada | GHSA-MMHX-HMJR-R674 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check.
This renders dompurify unable to avoid XSS attack.
Fixed by https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21 (3.x branch) and https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc (2.x branch).
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmdompurify |
Corregida | 2.5.4, 3.1.3 | -119 d · -128 d | 3.4.18 no afectada |
2.5.43.1.3Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2024-45801https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebchttps://github.com/cure53/DOMPurifyLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
