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.
CVE-2026-73648
This medium-severity CVE scores 5.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 68% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.1
- EG Score
- 5.1(medium)
- EG Risk
- 23(Track)EG Risk 23/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity51% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 32%
- KEV
- Not listed
Published
August 13, 2026
Last Modified
August 13, 2026
Advisory Details (4)
Auto-updated Aug 13, 2026Possible XSS vulnerability with certain configurations of rails-html-sanitizer · Advisory · rails/rails-html-sanitizer · GitHub
https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-cj75-f6xr-r4g7v1.7.1
Patch available: rails/rails-html-sanitizer v1.7.1
https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.1Properly restrict SVG href attributes
Patch available: rails/rails-html-sanitizer v1.7.1 (PR #223 merged 2026-07-16)
https://github.com/rails/rails-html-sanitizer/pull/223commit 74dcb8053e6d (rails/rails-html-sanitizer)
Patch available: rails/rails-html-sanitizer v1.7.1 (contains commit 74dcb8053e6d)
https://github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06ad9fd65b19586Vendor Advisories for CVE-2026-73648(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rails-html-sanitizer | 1.0.3 ... 1.7.0 (17 versions) | 1.7.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 07:54 UTCEG score recompute
- 2026-08-23 09:59 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 11:02 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 12:04 UTCEG score recompute
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 13:07 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 15:02 UTCEG score recompute
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-17 15:08 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 16:11 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 17:14 UTCEG score recompute
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-13 19:19 UTCEG score recompute
- 2026-08-13 18:52 UTCEG score recompute
- 2026-08-13 18:18 UTCEG score recompute
- 2026-08-13 18:12 UTCEG score recompute
Show 1 moreShow fewer
- 2026-08-13 18:11 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-73648?
When was CVE-2026-73648 disclosed?
Is CVE-2026-73648 actively exploited?
What is the CVSS score of CVE-2026-73648?
How do I remediate CVE-2026-73648?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-73648
Is Your Infrastructure Affected by CVE-2026-73648?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.