CVE-2026-73648
published medium CVSS 4.0 · 5.1rails-html-sanitizer: Possible XSS vulnerability with certain configurations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | rails-html-sanitizer>= 1.0.3, < 1.7.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rails-html-sanitizeraarch64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rails-html-sanitizerppc64le | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rails-html-sanitizers390x | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rails-html-sanitizerx86_64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rails-html-sanitizeraarch64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rails-html-sanitizerppc64le | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rails-html-sanitizers390x | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
Show 50 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rails-html-sanitizerx86_64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rails-html-sanitizeraarch64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rails-html-sanitizerppc64le | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rails-html-sanitizers390x | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rails-html-sanitizerx86_64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP7 | ruby2.5-rubygem-rails-html-sanitizeraarch64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP7 | ruby2.5-rubygem-rails-html-sanitizerppc64le | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP7 | ruby2.5-rubygem-rails-html-sanitizers390x | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-15-SP7 | ruby2.5-rubygem-rails-html-sanitizerx86_64 | Advisory build | 1.0.4-150000.4.9.1 | SUSE-SU-2026:4445-1 |
| SUSE / openSUSE | SLE-16 | hawk-apiserveraarch64 | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk-apiserverppc64le | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk-apiserverppc64le | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24722-1 |
| SUSE / openSUSE | SLE-16 | hawk-apiservers390x | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk-apiserverx86_64 | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk-apiserverx86_64 | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | SUSE-SU-2026:24722-1 |
| SUSE / openSUSE | SLE-16 | hawk2aarch64 | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk2ppc64le | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24195-1 |
| SUSE / openSUSE | SLE-16 | hawk2ppc64le | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24250-1 |
| SUSE / openSUSE | SLE-16 | hawk2ppc64le | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk2ppc64le | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24722-1 |
| SUSE / openSUSE | SLE-16 | hawk2s390x | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24195-1 |
| SUSE / openSUSE | SLE-16 | hawk2s390x | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk2x86_64 | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24195-1 |
| SUSE / openSUSE | SLE-16 | hawk2x86_64 | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | SUSE-SU-2026:24250-1 |
| SUSE / openSUSE | SLE-16 | hawk2x86_64 | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | hawk2x86_64 | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | SUSE-SU-2026:24722-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowppc64le | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillows390x | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowx86_64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tks390x | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24712-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2aarch64 | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | OPENSUSE-SU-2026:22068-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2ppc64le | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | OPENSUSE-SU-2026:22068-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2s390x | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | OPENSUSE-SU-2026:22068-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2x86_64 | Advisory build | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | OPENSUSE-SU-2026:22068-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk-apiserveraarch64 | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk-apiserverppc64le | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk-apiservers390x | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk-apiserverx86_64 | Advisory build | 0.2.4+git.1792406875.6ed758a-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk2aarch64 | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk2ppc64le | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk2s390x | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | hawk2x86_64 | Advisory build | 2.7.2+git.1789128469.a738abc1-160100.1.1 | OPENSUSE-SU-2026:22305-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hawk2aarch64 | Advisory build | 2.7.2+git.1792148770.648dcddb-1.1 | OPENSUSE-SU-2026:12153-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hawk2ppc64le | Advisory build | 2.7.2+git.1792148770.648dcddb-1.1 | OPENSUSE-SU-2026:12153-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hawk2s390x | Advisory build | 2.7.2+git.1792148770.648dcddb-1.1 | OPENSUSE-SU-2026:12153-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hawk2x86_64 | Advisory build | 2.7.2+git.1792148770.648dcddb-1.1 | OPENSUSE-SU-2026:12153-1 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | rails-html-sanitizer | >= 1.0.3, < 1.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06ad9fd65b19586
- 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-r4g7
Provider assertions
2GitHub_M · cna
rails-html-sanitizer: Possible XSS vulnerability with certain configurations
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4434ecc963bab1cc6b2c00e927591bd020bcf29688db4665dcf205a1f337ed0f
- Ingested
- 23 Sep 2026, 09:30:42 UTC
- Source record
- Official CVE record