CVE-2022-23518: XSS via Data URIs in rails-html-sanitizer 1.0.3-1.4.4
CVE-2022-23518 Published on December 14, 2022
Improper neutralization of data URIs allows XSS in rails-html-sanitizer
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2022-23518 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2022-23518
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-23518 are published in these products:
Affected Versions
rails-html-sanitizer Version >= 1.0.3, < 1.4.4 is affected by CVE-2022-23518Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.