SecurityContext

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

IdName
CWE-1333Inefficient Regular Expression Complexity

Hackerone

  • Reports: 2
  • Rank: 3806

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhhThird Party Advisory
https://hackerone.com/reports/1684163Permissions 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

ProductAffectedPlatform boundSourcesUrl
loofah_project:loofah< 2.19.1nonvd/v1/products/loofah_project/loofah

Projects

RepositoryLink kindsIndexedUrl
flavorjones/loofahcommit, package, security_advisoryyes/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