CVE-2026-73648 rails-html-sanitizer: Possible XSS vulnerability with certain configurations
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
13 packages: 2 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby-rails-html-sanitizer(Debian 12) | = 1.4.4-1; = 1.6.2-1; = 1.6.2-1~exp1; = 1.7.0-1 +3 more | No fix listed | No fix yet |
| debian/ruby-rails-html-sanitizer(Debian 13) | = 1.6.2-1; = 1.7.0-1; = 1.7.0-2; = 1.7.1-1 +1 more | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel8(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel9(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/zync-rhel9(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/rubygem-rails-html-sanitizer(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/satellite:el8/rubygem-rails-html-sanitizer(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-rails-html-sanitizer(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-rails-html-sanitizer(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-rails-html-sanitizer(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/ruby-rails-html-sanitizer(Debian 14) | < 1.7.1-1; = 1.6.2-1; = 1.7.0-1; = 1.7.0-2 | 1.7.1-1 | Fixed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.0.3; = 1.0.4; = 1.1.0; = 1.2.0 +14 more | 1.7.1 | Fixed |
| rails-html-sanitizer | = >= 1.0.3, < 1.7.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems rails-html-sanitizer(RubyGems) | >= 1.0.3, < 1.7.1 | 1.7.1 |
| rubygems rails-html-sanitizer(RubyGems) | = 1.0.3 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.0.4 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.1.0 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.2.0 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.3.0 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.4.0 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.4.1 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.4.2 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.4.3 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.4.4 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.5.0 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.6.0 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.6.0.rc1 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.6.0.rc2 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.6.1 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.6.2 | No fix listed |
| rubygems rails-html-sanitizer(RubyGems) | = 1.7.0 | No fix listed |
| rails-html-sanitizer | = >= 1.0.3, < 1.7.1 | No fix listed |
| redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/zync-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/rubygem-rails-html-sanitizer(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite:el8/rubygem-rails-html-sanitizer(Red Hat:satellite:6) | All versions | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:12) | All versions | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ruby-rails-html-sanitizer(Debian:12) | = 1.4.4-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:12) | = 1.6.2-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:12) | = 1.6.2-1~exp1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:12) | = 1.7.0-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:12) | = 1.7.0-2 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:12) | = 1.7.1-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:13) | All versions | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:13) | = 1.6.2-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:13) | = 1.7.0-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:13) | = 1.7.0-2 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:13) | = 1.7.1-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:14) | < 1.7.1-1 | 1.7.1-1 |
| debian/ruby-rails-html-sanitizer(Debian:14) | = 1.6.2-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:14) | = 1.7.0-1 | No fix listed |
| debian/ruby-rails-html-sanitizer(Debian:14) | = 1.7.0-2 | No fix listed |
| ubuntu/ruby-rails-html-sanitizer(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ruby-rails-html-sanitizer(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby-rails-html-sanitizer(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-cj75-f6xr-r4g7 vendor-advisory
- https://github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06ad9fd65b19586 patch
- github.com product
- https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.1
- https://github.com/rails/rails-html-sanitizer/pull/223
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2515530 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-73648 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-58191 third-party-advisory