CVE-2022-23515

6.1 MEDIUM
Published: December 14, 2022 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/flavorjones/loofah/issues/101
Source: security-advisories@github.com
Issue Tracking Third Party Advisory
https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gx
Source: security-advisories@github.com
Third Party Advisory
https://hackerone.com/reports/1694173
Source: security-advisories@github.com
Permissions Required Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html
Source: security-advisories@github.com
Mailing List Third Party Advisory
https://github.com/flavorjones/loofah/issues/101
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory
https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gx
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://hackerone.com/reports/1694173
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory

9 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.1 / 10.0
EPSS (Exploit Probability)
0.3%
49th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

loofah_project debian