CVE-2022-23515
Loofah Project Loofah vulnerability
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.
Affected products
Loofah, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Loofah Project Loofah runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gx
- github.com/flavorjones/loofah/issues/101
- github.com/w3c/svgwg/issues/266
- github.com/flavorjones/loofah/commit/415677f3cf7f9254f42f811e784985cd63c7407f
- hackerone.com/reports/1694173
- github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2022-23515.yml
- nvd.nist.gov/vuln/detail/CVE-2022-23515
- lists.debian.org/debian-lts-announce/2023/09/msg00011.html
- nvd.nist.gov/vuln/detail/CVE-2022-23515
- cve.org/CVERecord?id=CVE-2022-23515
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.