Bug 2561612 - CVE-2026-102342 python-nh3: ammonia: Stored cross-site scripting via SVG animation elements [fedora-all]
Summary: CVE-2026-102342 python-nh3: ammonia: Stored cross-site scripting via SVG anim...
Keywords:
Status: CLOSED CURRENTRELEASE
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": ["5f0f8b32-8b6d-43fa-90a2-3...
Depends On:
Blocks: CVE-2026-102342
TreeView+ depends on / blocked
 
Reported: 2026-10-27 10:16 UTC by Vipul Nair
Modified: 2026-10-27 18:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-27 18:18:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-27 10:16:18 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 Fabio Valentini 2026-10-27 18:18:01 UTC
All branches of Fedora have builds of python-nh3 that were done against ammonia v4.0.3 or later.


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