CVE-2022-23515 - CVE House
Back to Database
Status published Medium CVE-2022-23515

Improper neutralization of data URIs may allow XSS in Loofah

Vulnerability 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 Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-23515

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

flavorjones

View all reports →

Affected Software

loofah
Vulnerable Versions:
>= 2.1.0, < 2.19.1

Timeline

Official Publish: December 14th, 2022
Last Modified: November 3rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses (CWE)