CVE-2022-23514 - CVE House
Back to Database
Status published High CVE-2022-23514

Inefficient Regular Expression Complexity in Loofah

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-23514

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

flavorjones

View all reports →

Affected Software

loofah
Vulnerable Versions:
< 2.19.1

Timeline

Official Publish: December 14th, 2022
Last Modified: November 3rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)