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: CLOSED ERRATA
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-11-05 01:36 UTC (History)
3 users (show)

Fixed In Version: python-nh3-0.2.21-2.el10_4 python-nh3-0.2.21-2.el10_3
Clone Of:
Environment:
Last Closed: 2026-11-05 01:20:31 UTC
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.

Comment 1 Fedora Update System 2026-10-27 19:01:03 UTC
FEDORA-EPEL-2026-9722adf177 (python-nh3-0.2.21-2.el10_4 and rust-ammonia-4.1.8-1.el10_4) has been submitted as an update to Fedora EPEL 10.4.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9722adf177

Comment 2 Fedora Update System 2026-10-27 19:01:26 UTC
FEDORA-EPEL-2026-264057b632 (python-nh3-0.2.21-2.el10_3 and rust-ammonia-4.1.8-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-264057b632

Comment 3 Fedora Update System 2026-10-28 02:59:08 UTC
FEDORA-EPEL-2026-9722adf177 has been pushed to the Fedora EPEL 10.4 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9722adf177

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-10-28 03:30:09 UTC
FEDORA-EPEL-2026-264057b632 has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-264057b632

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-11-05 01:20:31 UTC
FEDORA-EPEL-2026-9722adf177 (python-nh3-0.2.21-2.el10_4 and rust-ammonia-4.1.8-1.el10_4) has been pushed to the Fedora EPEL 10.4 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-05 01:36:37 UTC
FEDORA-EPEL-2026-264057b632 (python-nh3-0.2.21-2.el10_3 and rust-ammonia-4.1.8-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.


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