๐Ÿ” CVE Alert

CVE-2026-73648

UNKNOWN 0.0

rails-html-sanitizer: Possible XSS vulnerability with certain configurations

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor rails
Product rails-html-sanitizer
Published Aug 13, 2026
Last Updated Aug 13, 2026
Stay Ahead of the Next One

Get instant alerts for rails rails-html-sanitizer

Be the first to know when new unknown vulnerabilities affecting rails rails-html-sanitizer are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

rails / rails-html-sanitizer
>= 1.0.3, < 1.7.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-cj75-f6xr-r4g7 github.com: https://github.com/rails/rails-html-sanitizer/pull/223 github.com: https://github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06ad9fd65b19586 github.com: https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.1