Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06
- https://github.com/rails/rails-html-sanitizer/pull/223
- https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.1
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-cj75-f6xr
FAQ
What is CVE-2026-73648?
CVE-2026-73648 is a documented vulnerability. 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 o...
How severe is CVE-2026-73648?
CVSS scoring is not yet available for CVE-2026-73648. Check NVD for updates.
Is there a patch for CVE-2026-73648?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.