CVE-2026-46637
Twig: HTML-output filters in twig/ extras incorrectly declared is_safe => ['all']
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-46637 divulgada · CVSS 5.1 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Twig |
Corregida | 3.26.0 | — | — |
3.26.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14ahttps://github.com/twigphp/Twig/releases/tag/v3.26.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
