cve.bz

CVE-2022-23518

6.1 mediumEPSS 0.9%

Medium (6.1). EPSS 0.9% chance of exploitation in the next 30 days. Fixed in rails-html-sanitizer 1.4.4.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.9% chance of exploitation in the next 30 days; higher than 60% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mcvf-2q2m-x72mRubyGemsrails-html-sanitizer>=1.0.3 <1.4.41.4.4

References

Check your stackJSON