CVE-2022-23518: medium-severity vulnerability in rails-html-sanitizer
Improper neutralization of data URIs allows XSS in rails-html-sanitizer
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.1epss 0.9%
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
rails · rails-html-sanitizerRelated CVEs — rails-html-sanitizer
In the same product, most dangerous first.
CVE-2022-23517HIGHInefficient Regular Expression Complexity in rails-html-sanitizerEPSS 1.6%CVE-2022-23520MEDIUMrails-html-sanitizer contains an incomplete fix for an XSS vulnerabilityEPSS 1.2%CVE-2022-23519HIGHPossible XSS vulnerability with certain configurations of rails-html-sanitizerEPSS 1.1%CVE-2024-53985LOWPossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0EPSS 0.6%CVE-2026-73648MEDIUMrails-html-sanitizer: Possible XSS vulnerability with certain configurationsEPSS 0.5%CVE-2024-53989LOWPossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0EPSS 0.5%
References
https://github.com/rails/rails-html-sanitizer/issues/135https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72mhttps://hackerone.com/reports/1694173https://lists.debian.org/debian-lts-announce/2023/09/msg00012.htmlhttps://lists.debian.org/debian-lts-announce/2024/09/msg00045.html