Staging Environment: Content and features may be unstable or change without notice.
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-271j-gcn1-73c5
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`. ## Severity The Loofah maintainers have evaluated this as [Medium Severity 6.1](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). ## References - [CWE - CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (4.9)](https://cwe.mitre.org/data/definitions/79.html) - [SVG MIME Type (image/svg+xml) is misleading to developers · Issue #266 · w3c/svgwg](https://github.com/w3c/svgwg/issues/266) - https://hackerone.com/reports/1694173 - https://github.com/flavorjones/loofah/issues/101 ## Credit This vulnerability was responsibly reported by Maciej Piechota (@haqpl).
2.19.1-1
Affected by 0 other vulnerabilities.
VCID-6qdt-my8d-rkd5
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. ## Severity The Loofah maintainers have evaluated this as [High Severity 7.5 (CVSS3.1)](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). ## References - [CWE - CWE-674: Uncontrolled Recursion (4.9)](https://cwe.mitre.org/data/definitions/674.html)
2.19.1-1
Affected by 0 other vulnerabilities.
VCID-ab24-w4sg-bbax
Aliases:
CVE-2019-15587
GHSA-c3gv-9cxf-6f57
Loofah Allows Cross-site Scripting In the Loofah gem for Ruby 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-paw4-xkmu-w7eb
Aliases:
CVE-2018-16468
GHSA-g4xq-jx4w-4cjv
Cross-site Scripting In the Loofah gem for Ruby, 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-q52h-9tcw-zfab
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`. ## Severity The Loofah maintainers have evaluated this as [High Severity 7.5 (CVSS3.1)](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). ## References - [CWE - CWE-1333: Inefficient Regular Expression Complexity (4.9)](https://cwe.mitre.org/data/definitions/1333.html) - https://hackerone.com/reports/1684163 ## Credit This vulnerability was responsibly reported by @ooooooo-q (https://github.com/ooooooo-q).
2.19.1-1
Affected by 0 other vulnerabilities.
VCID-sqa5-8yrd-qyfz
Aliases:
CVE-2018-8048
GHSA-x7rv-cr6v-4vm4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') In the Loofah gem for Ruby, denylisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.
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
2026-04-16T01:09:49.892260+00:00 Debian Oval Importer Affected by VCID-q52h-9tcw-zfab https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-16T00:13:24.606642+00:00 Debian Oval Importer Affected by VCID-ab24-w4sg-bbax https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T23:10:31.274126+00:00 Debian Oval Importer Affected by VCID-sqa5-8yrd-qyfz https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T19:33:53.965052+00:00 Debian Oval Importer Affected by VCID-6qdt-my8d-rkd5 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T18:26:46.643457+00:00 Debian Oval Importer Affected by VCID-271j-gcn1-73c5 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T15:27:10.661248+00:00 Debian Oval Importer Affected by VCID-paw4-xkmu-w7eb https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T14:56:39.312163+00:00 Debian Oval Importer Affected by VCID-ab24-w4sg-bbax https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 38.4.0
2026-04-12T00:41:43.126681+00:00 Debian Oval Importer Affected by VCID-q52h-9tcw-zfab https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T23:47:10.594446+00:00 Debian Oval Importer Affected by VCID-ab24-w4sg-bbax https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T22:46:28.737368+00:00 Debian Oval Importer Affected by VCID-sqa5-8yrd-qyfz https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T19:16:38.213642+00:00 Debian Oval Importer Affected by VCID-6qdt-my8d-rkd5 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T18:11:48.213059+00:00 Debian Oval Importer Affected by VCID-271j-gcn1-73c5 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T15:15:19.003683+00:00 Debian Oval Importer Affected by VCID-paw4-xkmu-w7eb https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T14:44:55.533604+00:00 Debian Oval Importer Affected by VCID-ab24-w4sg-bbax https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 38.3.0
2026-04-09T00:11:32.684584+00:00 Debian Oval Importer Affected by VCID-q52h-9tcw-zfab https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T23:19:24.511670+00:00 Debian Oval Importer Affected by VCID-ab24-w4sg-bbax https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T22:21:13.504319+00:00 Debian Oval Importer Affected by VCID-sqa5-8yrd-qyfz https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T19:00:31.262234+00:00 Debian Oval Importer Affected by VCID-6qdt-my8d-rkd5 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T17:58:07.393036+00:00 Debian Oval Importer Affected by VCID-271j-gcn1-73c5 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T15:10:09.599669+00:00 Debian Oval Importer Affected by VCID-paw4-xkmu-w7eb https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-07T23:17:46.029320+00:00 Debian Oval Importer Affected by VCID-ab24-w4sg-bbax https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 38.1.0