CVE-2022-23518

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.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub_MCNA
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 46%
VendorProductVersion
rubyonrailsrails_html_sanitizers
1.0.3 ≤
𝑥
< 1.4.4
debiandebian_linux
10.0
loofah_projectloofah
2.1.0 ≤
𝑥
< 2.19.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ruby-rails-html-sanitizer
bullseye
vulnerable
bullseye (security)
1.3.0-1+deb11u1
fixed
sid
1.4.4-1
fixed
trixie
1.4.4-1
fixed
bookworm
1.4.4-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby-rails-html-sanitizer
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
trusty
ignored