7.5

CVE-2022-23514: Inefficient Regular Expression Complexity in Loofah

Modified
AliasesUBUNTU-CVE-2022-23514DEBIAN-CVE-2022-23514GHSA-486f-hjj9-9vhh
Published 14-12-2022Last modified 03-11-2025

Vulnerability summary

CVE-2022-23514 is a high (CVSS 7.5) vulnerability in flavorjones loofah. EPSS estimates a 1.83% chance of exploitation in the next 30 days, higher than 78.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.83%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 5

Timeline

  1. 14-12-2022
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.83%

Chance of exploitation in the next 30 days

Percentile

79%

Versus all other CVEs

30-day change

Increase +0.07 pp

From 1.76% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • ruby-loofah< 2.19.1-1
Flavorjones1 product
Loofah_project1 product
RubyGems1 product
  • loofah< 2.19.1
Ubuntu1 product
  • ruby-loofahAll versions (No fix recorded)

5 vendors · 5 products

References

11 links
Show all 11 references