SecurityContext

CVE-2022-23515: Loofah - Stored XSS

  • Cve: CVE-2022-23515
  • Name: Loofah - Stored XSS
  • Description: Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in version 2.19.1.
  • Impact: Attackers can execute malicious scripts in victim browsers, leading to potential session hijacking or defacement.
  • Remediation: Update to version 2.19.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00877
  • Epss percentile: 0.59755
  • 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: 5
  • Products total: 2
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23515
  • 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-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 2
  • Rank: 3806

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/flavorjones/loofah/issues/101Issue Tracking, Third Party Advisory
https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gxThird Party Advisory
https://hackerone.com/reports/1694173Permissions Required, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00011.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/09/msg00044.html

Products

ProductAffectedPlatform boundSourcesUrl
loofah_project:loofah>= 2.1.0, < 2.19.1nonvd/v1/products/loofah_project/loofah
debian:debian_linux= 10.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
flavorjones/loofahcommit, issues, package, security_advisoryyes/v1/repositories/flavorjones/loofah
w3c/svgwgissuesyes/v1/repositories/w3c/svgwg

Index

  • Repositories: 41
  • Repositories high signal: 7
  • Packages: 1

Exploitation

  • Remote: yes
  • Hackerone reports: 2
  • Exposed hosts: 4739835
  • 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