CVE-2022-23520 — Cross-site Scripting in Rails Rails-html-sanitizer
Severity
6.1MEDIUMNVD
EPSS
0.3%
top 43.67%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 14
Latest updateJan 4
Description
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, there is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer due to an incomplete fix of CVE-2022-32209. Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer's allowed tags to allow both "select" and "style" elements. Code is only impacted if allowed tags are being overridden. This issue…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7
Affected Packages4 packages
Also affects: Debian Linux 10.0
🔴Vulnerability Details
3OSV▶
CVE-2022-23520: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications↗2022-12-14
📋Vendor Advisories
2💬Community
1HackerOne▶
CVE-2022-23520: Incomplete fix for CVE-2022-32209 (XSS in Rails::Html::Sanitizer under certain configurations)↗2023-01-04