Bug 2520932 - CVE-2026-73490 rubygem-loofah: Loofah: SVG `href` attribute bypasses local-reference restriction [fedora-all]
Summary: CVE-2026-73490 rubygem-loofah: Loofah: SVG `href` attribute bypasses local-re...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-loofah
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["ef567479-b110-4124-b0e3-e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-21 10:00 UTC by Michalis Papadopoullos
Modified: 2026-08-21 10:00 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Michalis Papadopoullos 2026-08-21 10:00:21 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.

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue is fixed in version 2.25.2.


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