Bug 2515530 (CVE-2026-73648) - CVE-2026-73648 rails-html-sanitizer: rails-html-sanitizer: Cross-Site Scripting vulnerability due to improper SVG sanitization
Summary: CVE-2026-73648 rails-html-sanitizer: rails-html-sanitizer: Cross-Site Scripti...
Keywords:
Status: NEW
Alias: CVE-2026-73648
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2520926
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-13 18:27 UTC by OSIDB Bzimport
Modified: 2026-08-21 09:16 UTC (History)
23 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-13 18:27:14 UTC
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. From 1.0.3 until 1.7.1, Rails::HTML::PermitScrubber restricted SVG reference elements in SVG_ALLOW_LOCAL_HREF only when they used xlink:href, even though browsers also accept the plain href attribute. Applications with non-default allowed tags that included SVG use or feImage elements could therefore permit external references; a same-origin external SVG referenced by use could execute scripts in the sanitized document's context, while feImage could load external images for tracking. Applications using the default allowed tags are not affected. This issue is fixed in version 1.7.1.


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