cve.bz

CVE-2026-63430 rust-ammonia ammonia: Cross-site Scripting

6.3 mediumEPSS 0.6%Fix available

Medium (6.3) in rust-ammonia ammonia. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in ammonia 3.3.2, 4.0.2, 4.1.3.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-63430 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-63430?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-63430?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-63430 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rust-ammonia ammonia< 3.3.2
rust-ammonia ammonia>= 4.0.0, < 4.0.2
rust-ammonia ammonia>= 4.1.0, < 4.1.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9jh8-v38h-cvhrcrates.ioammonia<3.3.23.3.2
GHSA-9jh8-v38h-cvhrcrates.ioammonia>=4.0.0 <4.0.24.0.2
GHSA-9jh8-v38h-cvhrcrates.ioammonia>=4.1.0 <4.1.34.1.3
RUSTSEC-2026-0193crates.ioammonia>=0.0.0-0 <3.3.2
>=4.0.0 <4.0.2
>=4.1.0 <4.1.3
3.3.2, 4.0.2, 4.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13rust-ammoniano fix listedDEBIAN-CVE-2026-63430
Debian14rust-ammonia4.1.3-1DEBIAN-CVE-2026-63430
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSrust-ammoniano fix listedUBUNTU-CVE-2026-63430
openSUSELeap 16.0gnome-podcasts0.7.1-bp160.1.1openSUSE-SU-2026:22255-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/eda-controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/eda-controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/gateway-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/hub-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/metrics-service-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform/automation-dashboard-rhel9Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-tech-preview/metrics-service-rhel9Fix deferred
Red Hat Ansible Automation Platform 2python3.11-nh3Fix deferred
Red Hat Ansible Automation Platform 2python3.12-nh3Fix deferred
Red Hat Enterprise Linux 10rustFix deferred
Red Hat Enterprise Linux 8rust-toolset:rhel8/rustFix deferred
Red Hat Enterprise Linux 9rustFix deferred
Red Hat Satellite 6python3.12-nh3Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-63430.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON