CVE-2022-23515

high
Published 2022-12-13 · Modified 2025-11-04
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
VIR risk
8.0

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-23515

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-23515.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:2097

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed2.19.1-1
debian debianbullseyefixed2.7.0+dfsg-1+deb11u1
debian debianforkyfixed2.19.1-1
debian debiansidfixed2.19.1-1
debian debiantrixiefixed2.19.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsloofah!< 2.1.0||<>= 2.19.1>= 2.19.1
ruby RubyGemsloofah>=2.1.0,<2.19.12.19.1

References

Verify integrity in audit chain (admin only). AS-IS.