Bug 2561613

Summary: CVE-2026-102342 python-nh3: ammonia: Stored cross-site scripting via SVG animation elements [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Vipul Nair <vinair>
Component: python-nh3Assignee: Mattia Verga <mattia.verga>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: epel10CC: mattia.verga, python-packagers-sig, rust-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["5f0f8b32-8b6d-43fa-90a2-3cbf3d815f72"]}
Fixed In Version: python-nh3-0.2.21-2.el10_4 python-nh3-0.2.21-2.el10_3 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-05 01:20:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2550595    

Description Vipul Nair 2026-10-27 10:16:31 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.3, 4.0.3, and 4.1.4, applications that allow the SVG animate or set elements can retain an animation whose attributeName targets href and whose value uses the javascript scheme. The sanitized SVG can therefore create a script-bearing link, and a user who clicks the link can execute attacker-controlled script in the application's origin, enabling stored cross-site scripting. This issue is fixed in versions 3.3.3, 4.0.3, and 4.1.4.

Comment 1 Fedora Update System 2026-10-27 19:01:06 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:29 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:10 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:11 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:37 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:39 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.