PT-2022-16044
CVE-2022-23514
·
Published
2022-12-13
·
Updated
2026-03-13
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Loofah versions prior to 2.19.1
Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. It 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.
Recommendations
Upgrade to Loofah version 2.19.1 or later. As a temporary workaround, consider restricting the use of Loofah for sanitizing SVG attributes until a patch is applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾