Bug 2555552 - CVE-2026-63430 python-nh3: ammonia: Cross-site scripting via improper MathML namespace handling [epel-all]
Summary: CVE-2026-63430 python-nh3: ammonia: Cross-site scripting via improper MathML ...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-nh3
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Mattia Verga
QA Contact:
URL:
Whiteboard: {"flaws": ["eae996fb-ceb6-4e94-b9b4-e...
Depends On:
Blocks: CVE-2026-63430
TreeView+ depends on / blocked
 
Reported: 2026-10-19 11:33 UTC by Marian Rehak
Modified: 2026-10-19 11:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-10-19 11:33:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.