CVE-2026-63430rust-ammonia ammonia
Media 6.3 Sin autenticación
Seguir: esta CVE · rust-ammonia · rust-ammonia ammonia Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 15 oct 2026
- Actualizada
- 16 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
ammonia is a Rust library for repairing and securing untrusted HTML. Prior to 3.3.2, 4.0.2, and 4.1.3, applications that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element while disallowing the encoding attribute can permit mutation cross-site scripting. ammonia does not correctly implement annotation-xml's encoding-dependent MathML integration-point behavior after attribute filtering removes encoding, so the sanitizer validates a descendant under one namespace interpretation while the browser reparses the output under another. An attacker can use that namespace transition and an allowed raw-text HTML element to execute JavaScript when a user renders the sanitized output. The required tags are not enabled by default, so applications that do not explicitly allow them are not affected. This issue is fixed in versions 3.3.2, 4.0.2, and 4.1.3.
Qué hacer
- Aplica la actualización de seguridad del fabricante para ammonia.
- 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 |
|---|---|---|---|---|
| crates.io | ammonia |
< 3.3.2 |
3.3.2 |
cargo update -p ammonia --precise 3.3.2 |
| crates.io | ammonia |
≥ 4.0.0 < 4.0.2 |
4.0.2 |
cargo update -p ammonia --precise 4.0.2 |
| crates.io | ammonia |
≥ 4.1.0 < 4.1.3 |
4.1.3 |
cargo update -p ammonia --precise 4.1.3 |
| crates.io | ammonia |
≥ 0.0.0-0 < 3.3.2 |
3.3.2 |
cargo update -p ammonia --precise 3.3.2 |
| crates.io | ammonia |
≥ 4.0.0 < 4.0.2 |
4.0.2 |
cargo update -p ammonia --precise 4.0.2 |
| crates.io | ammonia |
≥ 4.1.0 < 4.1.3 |
4.1.3 |
cargo update -p ammonia --precise 4.1.3 |
Según OSV / GitHub Advisories (GHSA-9jh8-v38h-cvhr, RUSTSEC-2026-0193). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- rust-ammonia · ammonia
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for gnome-podcasts · SUSE · openSUSE-SU-2026:22255-1 · 4 nov 2026 Media
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.