Amenazas en vivo

Todas las CVE / rust-ammonia

CVE-2026-63430rust-ammonia ammonia

Media 6.3 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para ammonia.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Boletines oficiales

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.