PT-2022-16045 · Loofah+5 · Loofah+5

Haqpl

·

Published

2022-12-13

·

Updated

2026-03-13

·

CVE-2022-23515

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Loofah versions 2.1.0 through 2.19.0
Description The issue concerns a cross-site scripting vulnerability via the image/svg+xml media type in data URIs. This vulnerability affects Loofah, a library for manipulating and transforming HTML/XML documents and fragments built on top of Nokogiri.
Recommendations For Loofah versions 2.1.0 through 2.19.0, upgrade to version 2.19.1 to resolve the issue. As a temporary workaround, consider restricting the use of the image/svg+xml media type in data URIs until the patch is applied.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2023-1338
ALT-PU-2023-4267
ALT-PU-2024-7813
CVE-2022-23515
DLA-3565-1
DLA-3901-1
GHSA-228G-948R-83GX
OPENSUSE-SU-2024:12768-1
OPENSUSE-SU-2024:14171-1
OPENSUSE-SU-2025:15120-1
OPENSUSE-SU-2026:10353-1
RHSA-2023:2097
RLSA-2023:2097
SUSE-SU-2023:1657-1

Affected Products

Alt Linux
Astra Linux
Loofah
Nokogiri
Rocky Linux
Suse