CVE catalog

CVE-2022-23515

ruby-loofah: CVE-2022-23515

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.86% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-loofahsid2.25.2-1fixed
Debianruby-loofahforky2.25.2-1fixed
Debianruby-loofahtrixie2.24.0-1fixed
Debianruby-loofahbookworm2.19.1-1fixed
Ubunturuby-loofah16.042.0.2-1vulnerable
Ubunturuby-loofah16.042.0.3-1vulnerable
Ubunturuby-loofah16.042.0.3-2vulnerable
Ubunturuby-loofah16.042.0.3-2+deb9u1build0.16.04.1vulnerable
Ubunturuby-loofah16.042.0.3-2+deb9u2build0.16.04.1vulnerable
Ubunturuby-loofah16.042.0.3-2+deb9u3build0.16.04.1vulnerable
Ubunturuby-loofah18.042.0.3-2vulnerable
Ubunturuby-loofah18.042.2.2-1vulnerable
Ubunturuby-loofah20.042.2.3-1vulnerable
Ubunturuby-loofah20.042.3.1+dfsg-1vulnerable
Ubunturuby-loofah20.042.4.0+dfsg-1vulnerable
Ubunturuby-loofah22.042.12.0-1vulnerable
Ubunturuby-loofah22.042.13.0-1vulnerable
Ubunturuby-loofah22.042.13.0-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-loofahsourcesid2.19.1-1not yet assignedNot reported[1026083]
Debianruby-loofahsourceforky2.19.1-1not yet assignedNot reported[1026083]
Debianruby-loofahsourcetrixie2.19.1-1not yet assignedNot reported[1026083]
Debianruby-loofahsourcebookworm2.19.1-1not yet assignedNot reported[1026083]

[Debian bug #1026083]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.19.1-1 · all · bookworm

      Fixed · Fixed: 2.19.1-1

      dsa · ruby-loofah · debian · bookworm

    • 2.19.1-1 · all · bookworm

      Fixed · Fixed: 2.19.1-1

      dsa · ruby-loofah · debian · bookworm

Observed:

References