Search for packages
Package details: pkg:deb/debian/ruby-loofah@2.0.3-2%2Bdeb9u3
purl pkg:deb/debian/ruby-loofah@2.0.3-2%2Bdeb9u3
Next non-vulnerable version 2.19.1-1
Latest non-vulnerable version 2.19.1-1
Risk 4.0
Vulnerabilities affecting this package (6)
Vulnerability Summary Fixed by
VCID-19uf-4mfq-87dv
Aliases:
CVE-2022-23516
GHSA-3x8r-x6xp-q4vm
GMS-2022-8288
Uncontrolled Recursion in Loofah ## Summary Loofah `>= 2.2.0, < 2.19.1` uses recursion for sanitizing `CDATA` sections, making it susceptible to stack exhaustion and raising a `SystemStackError` exception. This may lead to a denial of service through CPU resource consumption. ## Mitigation Upgrade to Loofah `>= 2.19.1`. Users who are unable to upgrade may be able to mitigate this vulnerability by limiting the length of the strings that are sanitized.
2.19.1-1
Affected by 0 other vulnerabilities.
VCID-8ut1-66x1-4kfx
Aliases:
CVE-2022-23514
GHSA-486f-hjj9-9vhh
GMS-2022-8289
Inefficient Regular Expression Complexity in Loofah ## Summary 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. ## Mitigation Upgrade to Loofah `>= 2.19.1`.
2.19.1-1
Affected by 0 other vulnerabilities.
VCID-9eux-3fc7-13gr
Aliases:
CVE-2019-15587
GHSA-c3gv-9cxf-6f57
Loofah XSS Vulnerability In the Loofah gem, through v2.3.0, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
2.2.3-1+deb10u1
Affected by 4 other vulnerabilities.
2.7.0+dfsg-1
Affected by 3 other vulnerabilities.
VCID-ef83-dy1p-g7fp
Aliases:
CVE-2022-23515
GHSA-228g-948r-83gx
GMS-2022-8287
Improper neutralization of data URIs may allow XSS in Loofah ## Summary Loofah `>= 2.1.0, < 2.19.1` is vulnerable to cross-site scripting via the `image/svg+xml` media type in data URIs. ## Mitigation Upgrade to Loofah `>= 2.19.1`.
2.19.1-1
Affected by 0 other vulnerabilities.
VCID-embn-3gvw-b7bp
Aliases:
CVE-2018-16468
GHSA-g4xq-jx4w-4cjv
Loofah XSS Vulnerability In the Loofah gem, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
2.2.3-1+deb10u1
Affected by 4 other vulnerabilities.
VCID-nt8x-sgpg-ffh3
Aliases:
CVE-2018-8048
GHSA-x7rv-cr6v-4vm4
Revert libxml2 behavior in Nokogiri gem that could cause XSS [MRI] Behavior in libxml2 has been reverted which caused CVE-2018-8048 (loofah gem), CVE-2018-3740 (sanitize gem), and CVE-2018-3741 (rails-html-sanitizer gem). The commit in question is here: https://github.com/GNOME/libxml2/commit/960f0e2 and more information is available about this commit and its impact here: https://github.com/flavorjones/loofah/issues/144 This release simply reverts the libxml2 commit in question to protect users of Nokogiri's vendored libraries from similar vulnerabilities. If you're offended by what happened here, I'd kindly ask that you comment on the upstream bug report here: https://bugzilla.gnome.org/show_bug.cgi?id=769760
2.2.3-1+deb10u1
Affected by 4 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2025-08-01T20:17:30.513730+00:00 Debian Oval Importer Affected by VCID-8ut1-66x1-4kfx https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 37.0.0
2025-08-01T19:28:44.974634+00:00 Debian Oval Importer Affected by VCID-9eux-3fc7-13gr https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 37.0.0
2025-08-01T18:35:31.759753+00:00 Debian Oval Importer Affected by VCID-nt8x-sgpg-ffh3 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 37.0.0
2025-08-01T15:31:48.016171+00:00 Debian Oval Importer Affected by VCID-19uf-4mfq-87dv https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 37.0.0
2025-08-01T14:34:10.907326+00:00 Debian Oval Importer Affected by VCID-ef83-dy1p-g7fp https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 37.0.0
2025-08-01T11:58:39.369422+00:00 Debian Oval Importer Affected by VCID-embn-3gvw-b7bp https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 37.0.0
2025-08-01T11:27:41.388297+00:00 Debian Oval Importer Affected by VCID-9eux-3fc7-13gr https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 37.0.0