CVE-2026-73648rails-html-sanitizer
Medium 5.1 No auth needed
Follow: this CVE · rails · rails-html-sanitizer We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 4.0
- 5.1
- EPSS
- —
- Auth required
- No
- Published
- Aug 13, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS: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
What happens
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.
What to do
- Apply the vendor's security update for rails-html-sanitizer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rails-html-sanitizer |
≥ 1.0.3 < 1.7.1 |
1.7.1 |
gem "rails-html-sanitizer", ">= 1.7.1" |
Per OSV / GitHub Advisories (GHSA-cj75-f6xr-r4g7). Check the version in your lockfile before upgrading.
Affected products
- rails · rails-html-sanitizer
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24712-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24722-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · openSUSE-SU-2026:22305-1 · Nov 6, 2026 Critical
Also: SUSE (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.