Bug 2555553 - CVE-2026-63430 python-nh3: ammonia: Cross-site scripting via improper MathML namespace handling [fedora-all]
Summary: CVE-2026-63430 python-nh3: ammonia: Cross-site scripting via improper MathML ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nh3
Version: rawhide
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-31 18:51 UTC (History)
3 users (show)

Fixed In Version: python-nh3-0.3.7-2.fc46 python-nh3-0.3.7-2.fc44 python-nh3-0.2.21-10.fc43 python-nh3-0.3.7-2.fc45
Clone Of:
Environment:
Last Closed: 2026-10-22 14:52:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-10-19 11:33:43 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-22 14:40:24 UTC
FEDORA-2026-938b1c0296 (python-nh3-0.3.7-2.fc46 and rust-ammonia-4.1.8-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-938b1c0296

Comment 2 Fedora Update System 2026-10-22 14:40:44 UTC
FEDORA-2026-0c4e4a39a0 (python-nh3-0.3.7-2.fc45 and rust-ammonia-4.1.8-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0c4e4a39a0

Comment 3 Fedora Update System 2026-10-22 14:41:08 UTC
FEDORA-2026-481989221d (python-nh3-0.3.7-2.fc44 and rust-ammonia-4.1.8-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-481989221d

Comment 4 Fedora Update System 2026-10-22 14:41:28 UTC
FEDORA-2026-501e3b2abf (python-nh3-0.2.21-10.fc43 and rust-ammonia-4.1.8-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-501e3b2abf

Comment 5 Fedora Update System 2026-10-22 14:52:16 UTC
FEDORA-2026-938b1c0296 (python-nh3-0.3.7-2.fc46 and rust-ammonia-4.1.8-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-10-23 01:51:14 UTC
FEDORA-2026-0c4e4a39a0 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0c4e4a39a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0c4e4a39a0

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

Comment 7 Fedora Update System 2026-10-23 03:00:05 UTC
FEDORA-2026-501e3b2abf has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-501e3b2abf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-501e3b2abf

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

Comment 8 Fedora Update System 2026-10-23 03:15:21 UTC
FEDORA-2026-481989221d has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-481989221d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-481989221d

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

Comment 9 Fedora Update System 2026-10-31 01:06:00 UTC
FEDORA-2026-481989221d (python-nh3-0.3.7-2.fc44 and rust-ammonia-4.1.8-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-10-31 01:35:42 UTC
FEDORA-2026-501e3b2abf (python-nh3-0.2.21-10.fc43 and rust-ammonia-4.1.8-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-10-31 18:51:04 UTC
FEDORA-2026-0c4e4a39a0 (python-nh3-0.3.7-2.fc45 and rust-ammonia-4.1.8-1.fc45) has been pushed to the Fedora 45 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.