Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

loofah

RubyGems package

Overview

Newest range
2.25.3
Last CVE
12 Nov 2026
RubyGems 12 version ranges 11 affected
0 Critical
2 High
15 Medium
4 Low

Package versions

Version ranges and their known vulnerabilities
VersionsRangeDirect vulnerabilities
2.25.3 and later versions 0000
2.25.2 up to 2.25.3 0060
2.25.1 up to 2.25.2 0062
2.25.0 up to 2.25.1 0064
2.21.0 up to 2.25.0 0050
2.19.1 up to 2.21.0 0040
2.3.1 up to 2.19.1 0250
2.2.3 up to 2.3.1 0260
2.2.1 up to 2.2.3 0270
2.2.0 up to 2.2.1 0280
2.1.0 up to 2.2.0 0180
before 2.1.0 all earlier versions 0170

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

Known vulnerabilities of this package
CVESeverityPublishedVulnerableFixed 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&#x3a 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&sol;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.