CVE-2026-107380darylldoyle svg-sanitizer
Media 5.4
Seguir: esta CVE · darylldoyle · darylldoyle svg-sanitizer Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 8 oct 2026
- Actualizada
- 9 oct 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:L/UI:R/S:C/C:L/I:L/A:N
Qué pasa
savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, svg-sanitizer's isHrefSafeValue() validates an SVG href after XML DTD entity expansion, but saveXML() serializes the original entity reference after removing the DTD declaration. A crafted entity such as Tab can appear to the sanitizer as a safe fragment prefix while HTML5 Named Character Reference resolution during inline HTML rendering later converts the surviving reference to whitespace, exposing a javascript: URL. When an application embeds the sanitized SVG inline, a user who activates the link can cause script to execute in the embedding page's origin. This issue is fixed in version 1.0.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para svg-sanitizer.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | enshrined/svg-sanitize |
< 1.0.0 |
1.0.0 |
composer require "enshrined/svg-sanitize:^1.0.0" |
Según OSV / GitHub Advisories (GHSA-9rjx-3jch-6vjf). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- darylldoyle · svg-sanitizer
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.