CVE-2022-23515: medium-severity vulnerability in flavorjones loofah
Improper neutralization of data URIs may allow XSS in Loofah
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.1epss 0.9%
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in version 2.19.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
flavorjones · loofahRelated CVEs — flavorjones loofah
In the same product, most dangerous first.
CVE-2022-23514HIGHInefficient Regular Expression Complexity in LoofahEPSS 1.8%CVE-2022-23516HIGHUncontrolled Recursion in LoofahEPSS 1.2%CVE-2026-73492LOWLoofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolonsEPSS 0.4%CVE-2026-73491LOWLoofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character referencesEPSS 0.4%CVE-2026-73490MEDIUMLoofah: SVG `href` attribute bypasses local-reference restrictionEPSS 0.3%
References
https://github.com/flavorjones/loofah/issues/101https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gxhttps://hackerone.com/reports/1694173https://lists.debian.org/debian-lts-announce/2023/09/msg00011.htmlhttps://lists.debian.org/debian-lts-announce/2024/09/msg00044.html