-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
The vulnerability stems from missing data URI validation in rails-html-sanitizer's attribute scrubbing logic. The GitHub issue #135 specifically shows the PermitScrubber's scrub_attribute() method (lines 142-154 in scrubbers.rb) lacks the safe data URI checks present in Loofah's implementation. This allows XSS via crafted data:text/html and data:application/vnd.wap.xhtml+xml URIs. The test case demonstrates the sanitizer fails to remove dangerous data URIs in iframe src attributes when allowed tags/attributes are permitted.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| rails-html-sanitizer | rubygems | >= 1.0.3, < 1.4.4 | 1.4.4 |
Ongoing coverage of React2Shell