Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1.
References
Link | Resource |
---|---|
https://hackerone.com/reports/1684163 | Permissions Required Third Party Advisory |
https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh | Third Party Advisory |
Configurations
Information
Published : 2022-12-14 06:15
Updated : 2022-12-19 09:03
NVD link : CVE-2022-23514
Mitre link : CVE-2022-23514
JSON object : View
CWE
CWE-1333
Inefficient Regular Expression Complexity
Products Affected
loofah_project
- loofah