CVE-2026-73648: rails rails-html-sanitizer Cross-site Scripting
Vulnerability summary
CVE-2026-73648 is a medium (CVSS 5.1) Cross-site Scripting vulnerability in rails rails-html-sanitizer. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 44.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 13-08-2026PublishedVulnerability first disclosed.
- 13-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- OSV · DebianEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- OSV · ChainguardEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- OSV · RubygemsEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- NVDNIST5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
+0.15 pp
From 0.40% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard37 products
- commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.2< 19.2.7-r4
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-fips-19.2< 19.2.7-r4
- gitlab-rails-ce-18.1All versions (No fix recorded)
Suse4 products
- rubygem-rails-html-sanitizer&distro=SUSE Linux Enterprise High Availability Extension 15 SP4< 1.0.4-150000.4.9.1
- rubygem-rails-html-sanitizer&distro=SUSE Linux Enterprise High Availability Extension 15 SP5< 1.0.4-150000.4.9.1
- rubygem-rails-html-sanitizer&distro=SUSE Linux Enterprise High Availability Extension 15 SP6< 1.0.4-150000.4.9.1
- rubygem-rails-html-sanitizer&distro=SUSE Linux Enterprise High Availability Extension 15 SP7< 1.0.4-150000.4.9.1
Wolfi3 products
- ruby3.2-rails-8.1< 8.1.3-r9
- ruby3.4-rails-8.1< 8.1.3-r11
- ruby4.0-rails-8.1< 8.1.3-r10
Debian1 product
- ruby-rails-html-sanitizerAll versions (No fix recorded) | < 1.7.1-1
Rails1 product
- rails-html-sanitizer≥ 1.0.3, < 1.7.1
RubyGems1 product
- rails-html-sanitizer≥ 1.0.3, < 1.7.1
Ubuntu1 product
- ruby-rails-html-sanitizerAll versions (No fix recorded)
7 vendors · 48 products
References
13 links- github.com/rails/rails-html-sanitizer/security/advisories/GHSA-cj75-f6xr-r4g7X Refsource CONFIRMREPORTAdvisoryWEB
- github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06ad9fd65b19586X Refsource MISCFIXWEB