CVE-2022-23517: high-severity vulnerability in rails-html-sanitizer
Inefficient Regular Expression Complexity in rails-html-sanitizer
Published · Updated
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 1.5%
exploitation probability
1.5%top 26% of all CVEs
observed exploitation
nono source reports it
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 use an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue has been patched in version 1.4.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
rails · rails-html-sanitizerRelated CVEs — rails-html-sanitizer
In the same product, most dangerous first.
CVE-2022-23520MEDIUMrails-html-sanitizer contains an incomplete fix for an XSS vulnerabilityEPSS 1.1%CVE-2022-23519HIGHPossible XSS vulnerability with certain configurations of rails-html-sanitizerEPSS 1.0%CVE-2022-23518MEDIUMImproper neutralization of data URIs allows XSS in rails-html-sanitizerEPSS 0.9%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-53986LOWPossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0EPSS 0.5%
References
https://github.com/rails/rails-html-sanitizer/commit/56c61c0cebd1e493e8ad7bca2a0191609a4a6979https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-5x79-w82f-gw8whttps://hackerone.com/reports/1684163https://lists.debian.org/debian-lts-announce/2023/09/msg00012.htmlhttps://lists.debian.org/debian-lts-announce/2024/09/msg00045.html