CVE-2022-23514

high
Published 2022-12-13 · Modified 2025-11-04
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. 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-23514

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-23514.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.19.1>= 2.19.1
ruby RubyGemsloofah<2.19.12.19.1

References

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