Improper neutralization of data URIs may allow XSS in Loofah
Published: December 13, 2022
SECURITY IDENTIFIERS
- CVE: CVE-2022-23515 (NVD)
- GHSA: GHSA-228g-948r-83gx
- Vendor Advisory: https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gx
GEM
SEVERITY
CVSS v3.x: 6.1 (Medium)
UNAFFECTED VERSIONS
< 2.1.0
PATCHED VERSIONS
>= 2.19.1
DESCRIPTION
Summary
Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs.
Mitigation
Upgrade to Loofah >= 2.19.1.
