Loading advisory.
Loading advisory.
Inefficient Regular Expression Complexity in Loofah
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.
Published 2022-12-13 17:36 UTC · Modified 2025-11-04 17:02 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| loofah | RubyGems | < 2.19.1 versions 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 1.0.0, 1.0.0.beta.1, 1.1.0, 1.2.0, 1.2.1, 2.0.0, 2.0.1 and 29 more | 2.19.1 | gem install loofah -v 2.19.1 |
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.
Upgrade to Loofah >= 2.19.1.
The Loofah maintainers have evaluated this as High Severity 7.5 (CVSS3.1).
CWE - CWE-1333: Inefficient Regular Expression Complexity (4.9)
https://hackerone.com/reports/1684163
This vulnerability was responsibly reported by @ooooooo-q (https://github.com/ooooooo-q).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.018 on 2026-11-24 to 0.019 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.018 | first score | v2026.06.15 |
| 2026-11-26 | 0.019 | 0.018 | v2026.06.15 |