CVE-2022-23514: Loofah - Regular Expression Denial of Service
- Cve: CVE-2022-23514
- Name: Loofah - Regular Expression Denial of Service
- 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: Attackers can cause denial of service by consuming excessive CPU resources, leading to application slowdown or crash.
- Remediation: Update to version 2.19.1 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01838
- Epss percentile: 0.79392
- Assignee: [email protected]
- Published at: 2022-12-14T14:15:10Z
- Age in days: 1441
- Modified at: 2026-06-17T04:30:16Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23514
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Hackerone
- Reports: 2
- Rank: 3806
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh | Third Party Advisory |
| https://hackerone.com/reports/1684163 | Permissions Required, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html | |
| https://lists.debian.org/debian-lts-announce/2024/09/msg00044.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| loofah_project:loofah | < 2.19.1 | no | nvd | /v1/products/loofah_project/loofah |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| flavorjones/loofah | commit, package, security_advisory | yes | /v1/repositories/flavorjones/loofah |
Index
- Repositories: 50
- Repositories high signal: 7
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts