CVE-2026-73648

MEDIUM CVSS 4.0: 5.1 EPSS 0.40%
Updated Aug 13, 2026
Rails
Parameter Value
CVSS 5.1 (MEDIUM)
Fixed In 1.7.1
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Rails
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0