loofah
RubyGems package
Overview
Package versions
| Versions | Range | Direct vulnerabilities |
|---|---|---|
| 2.25.3 | and later versions | 0C0H0M0L |
| 2.25.2 | up to 2.25.3 | 0C0H6M0L |
| 2.25.1 | up to 2.25.2 | 0C0H6M2L |
| 2.25.0 | up to 2.25.1 | 0C0H6M4L |
| 2.21.0 | up to 2.25.0 | 0C0H5M0L |
| 2.19.1 | up to 2.21.0 | 0C0H4M0L |
| 2.3.1 | up to 2.19.1 | 0C2H5M0L |
| 2.2.3 | up to 2.3.1 | 0C2H6M0L |
| 2.2.1 | up to 2.2.3 | 0C2H7M0L |
| 2.2.0 | up to 2.2.1 | 0C2H8M0L |
| 2.1.0 | up to 2.2.0 | 0C1H8M0L |
| before 2.1.0 | all earlier versions | 0C1H7M0L |
No known vulnerabilities in 2.25.3 and later versions
Nothing in our data affects this version.
12 ranges in total. Each row is a range of versions with the same vulnerabilities, newest first. The data names only the versions where something changes (first affected, fixed), so the versions in between are a range.
Vulnerabilities · 23
| CVE | Severity | Published | Vulnerable | Fixed in |
|---|---|---|---|---|
| CVE-2026-126209Loofah is a general library for manipulating and transforming HTML/XML ... | MEDIUM | 12 Nov 2026 | >=2.25.0, <2.25.3 | 2.25.3 |
| CVE-2026-126208Loofah is a general library for manipulating and transforming HTML/XML ... | MEDIUM | 12 Nov 2026 | <2.25.3 | 2.25.3 |
| CVE-2026-126207Loofah is a general library for manipulating and transforming HTML/XML ... | MEDIUM | 12 Nov 2026 | <2.25.3 | 2.25.3 |
| CVE-2026-126206loofah: Loofah: Cross-site scripting via improper data URI validation | MEDIUM | 12 Nov 2026 | >=2.25.2, <2.25.3 | 2.25.3 |
| CVE-2026-126205Loofah is a general library for manipulating and transforming HTML/XML ... | MEDIUM | 12 Nov 2026 | <2.25.3 | 2.25.3 |
| CVE-2026-126203Loofah is a general library for manipulating and transforming HTML/XML ... | MEDIUM | 12 Nov 2026 | >=2.21.0, <2.25.3 | 2.25.3 |
| CVE-2026-73491rubygem-loofah: Loofah: Cross-Site Scripting via malformed `javascript:` URI parsing | LOW | 12 Aug 2026 | >=2.25.0, <2.25.2 | 2.25.2 |
| CVE-2026-73490loofah: Loofah: SVG `href` attribute bypasses local-reference restriction | MEDIUM | 12 Aug 2026 | <2.25.2 | 2.25.2 |
| GHSA-5QHF-9PHG-95M2Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons | LOW | 21 Jul 2026 | >=2.25.0, <2.25.2 | 2.25.2 |
| GHSA-2J22-PR5W-6GQ8Loofah has improper detection of disallowed URIs via `allowed_uri?` | LOW | 26 Mar 2026 | >=2.25.0, <2.25.1 | 2.25.1 |
| GHSA-46FP-8F5P-PF2MImproper detection of disallowed URIs by Loofah `allowed_uri?` | LOW | 18 Mar 2026 | >=2.25.0, <2.25.1 | 2.25.1 |
| CVE-2022-23516rubygem-loofah: Uncontrolled Recursion leading to denial of service | HIGH | 14 Dec 2022 | >=2.2.0, <2.19.1 | 2.19.1 |
| CVE-2022-23515rubygem-loofah: Improper neutralization of data URIs leading to Cross Site Scripting | MEDIUM | 14 Dec 2022 | >=2.1.0, <2.19.1 | 2.19.1 |
| CVE-2022-23514rubygem-loofah: inefficient regular expression leading to denial of service | HIGH | 14 Dec 2022 | <2.19.1 | 2.19.1 |
| CVE-2019-15587rubygem-loofah: XXS when a crafted SVG element is republished | MEDIUM | 22 Oct 2019 | <2.3.1 | 2.3.1 |
| CVE-2018-16468rubygem-loofah: XXS when a crafted SVG element is republished | MEDIUM | 30 Oct 2018 | <2.2.3 | 2.2.3 |
| CVE-2018-8048rubygem-loofah: XSS vulnerability due to unescaped comments within attributes by libxml2 | MEDIUM | 27 Mar 2018 | <2.2.1 | 2.2.1 |
| GHSA-P9WJ-W8XQ-VJX6Loofah allowed_uri? treats javascript: alert(1) as safe | UNKNOWN | No date | — | 2.25.3 |
| GHSA-MF2J-8F84-CC9QRegular expression denial of service in Loofah's SVG local-reference check | MEDIUM | No date | — | 2.25.3 |
| GHSA-M3X9-938Q-5767CSS url() sanitization bypass via escaped parentheses in Loofah | MEDIUM | No date | — | 2.25.3 |
| GHSA-JCFF-CJ73-4W4FLoofah allowed_uri? treats data:text/html as safe text/plain | UNKNOWN | No date | — | 2.25.3 |
| GHSA-H6V6-RG66-FQJ4Mutation XSS in Loofah HTML5 scrubbers through unescaped attribute values | MEDIUM | No date | — | 2.25.3 |
| GHSA-345X-3RQ2-JFRMSVG `<textPath>` and `<mpath>` bypass local-reference restriction in Loofah | MEDIUM | No date | — | 2.25.3 |
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.