VulnerabilityModified
CVE-2022-23518
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.
MEDIUM 6.1EPSS 0.87%
Does this matter?
Lower severity and a low EPSS score (0.87%). Track it; it rarely justifies an emergency change on its own.
Description
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.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.87% probability · 57th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- rubyonrails/rails html sanitizers · debian/debian linux · loofah project/loofah
- Source
- security-advisories@github.com
References
- https://github.com/rails/rails-html-sanitizer/issues/135Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72mThird Party Advisory
- https://hackerone.com/reports/1694173Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00012.htmlMailing List, Third Party Advisory
- https://github.com/rails/rails-html-sanitizer/issues/135Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72mThird Party Advisory
- https://hackerone.com/reports/1694173Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00012.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00045.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.