loofah (RubyGems)

Known vulnerabilities and malicious package reports for loofah on RubyGems, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 17 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-x7rv-cr6v-4vm4: Vulnerability

Cross-site Scripting in loofah

Published .

Updated .

Affected ranges: introduced 0, fixed 2.2.1.

Fix versions reported by the advisory: 2.2.1.

Severity: MEDIUM.

CVE-2018-8048

GHSA-486f-hjj9-9vhh: Vulnerability

Inefficient Regular Expression Complexity in Loofah

Published .

Updated .

Affected ranges: introduced 0, fixed 2.19.1.

Fix versions reported by the advisory: 2.19.1.

Severity: HIGH.

CVE-2022-23514

GHSA-c3gv-9cxf-6f57: Vulnerability

Loofah Allows Cross-site Scripting

Published .

Updated .

Affected ranges: introduced 0, fixed 2.3.1.

Fix versions reported by the advisory: 2.3.1.

Severity: MEDIUM.

CVE-2019-15587

GHSA-3x8r-x6xp-q4vm: Vulnerability

Uncontrolled Recursion in Loofah

Published .

Updated .

Affected ranges: introduced 2.2.0, fixed 2.19.1.

Fix versions reported by the advisory: 2.19.1.

Severity: HIGH.

CVE-2022-23516

GHSA-228g-948r-83gx: Vulnerability

Improper neutralization of data URIs may allow XSS in Loofah

Published .

Updated .

Affected ranges: introduced 2.1.0, fixed 2.19.1.

Fix versions reported by the advisory: 2.19.1.

Severity: MEDIUM.

CVE-2022-23515

GHSA-g4xq-jx4w-4cjv: Vulnerability

Loofah Cross-site Scripting vulnerability

Published .

Updated .

Affected ranges: introduced 0, fixed 2.2.3.

Fix versions reported by the advisory: 2.2.3.

Severity: MEDIUM.

CVE-2018-16468

GHSA-p9wj-w8xq-vjx6: Vulnerability

Loofah allowed_uri? treats javascript&#x3a alert(1) as safe

Published .

Updated .

Reported affected releases: 2.25.0, 2.25.1, 2.25.2.

Affected ranges: introduced 2.25.0, fixed 2.25.3.

Fix versions reported by the advisory: 2.25.3.

Severity: MEDIUM.

CVE-2026-126209

GHSA-jcff-cj73-4w4f: Vulnerability

Loofah allowed_uri? treats data:text/html as safe text/plain

Published .

Updated .

Reported affected releases: 2.25.2.

Affected ranges: introduced 2.25.2, fixed 2.25.3.

Fix versions reported by the advisory: 2.25.3.

Severity: MEDIUM.

CVE-2026-126206

GHSA-mf2j-8f84-cc9q: Vulnerability

Loofah: Regular expression denial of service in the SVG local-reference check

Published .

Updated .

Affected ranges: introduced 0, fixed 2.25.3.

Fix versions reported by the advisory: 2.25.3.

Severity: MEDIUM.

CVE-2026-126205

GHSA-345x-3rq2-jfrm: Vulnerability

Loofah: SVG `<textPath>` and `<mpath>` bypass local-reference restriction

Published .

Updated .

Affected ranges: introduced 0, fixed 2.25.3.

Fix versions reported by the advisory: 2.25.3.

Severity: MEDIUM.

CVE-2026-126208

GHSA-5qhf-9phg-95m2: Vulnerability

Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons

Published .

Updated .

Reported affected releases: 2.25.0, 2.25.1.

Affected ranges: introduced 2.25.0, fixed 2.25.2.

Fix versions reported by the advisory: 2.25.2.

Severity: LOW.

CVE-2026-73492

GHSA-8whx-365g-h9vv: Vulnerability

Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character references

Published .

Updated .

Reported affected releases: 2.25.0, 2.25.1.

Affected ranges: introduced 2.25.0, fixed 2.25.2.

Fix versions reported by the advisory: 2.25.2.

Severity: LOW.

CVE-2026-73491

GHSA-m3x9-938q-5767: Vulnerability

Loofah: CSS url() sanitization bypass via escaped parentheses

Published .

Updated .

Affected ranges: introduced 0, fixed 2.25.3.

Fix versions reported by the advisory: 2.25.3.

Severity: MEDIUM.

CVE-2026-126207

GHSA-h6v6-rg66-fqj4: Vulnerability

Loofah: Mutation XSS in the HTML5 scrubbers through unescaped attribute values

Published .

Updated .

Reported affected releases: 2.21.0, 2.21.1, 2.21.2, 2.21.3, 2.21.4, 2.22.0, 2.23.0, 2.23.1, 2.24.0, 2.24.1, 2.25.0, 2.25.1, 2.25.2.

Affected ranges: introduced 2.21.0, fixed 2.25.3.

Fix versions reported by the advisory: 2.25.3.

Severity: MEDIUM.

CVE-2026-126203

GHSA-9wjq-cp2p-hrgf: Vulnerability

Loofah: SVG `href` attribute bypasses local-reference restriction

Published .

Updated .

Affected ranges: introduced 0, fixed 2.25.2.

Fix versions reported by the advisory: 2.25.2.

Severity: MEDIUM.

CVE-2026-73490

GHSA-2j22-pr5w-6gq8: Vulnerability

Loofah has improper detection of disallowed URIs via `allowed_uri?`

Published .

Updated .

Reported affected releases: 2.25.0.

Affected ranges: introduced 2.25.0, fixed 2.25.1.

Fix versions reported by the advisory: 2.25.1.

Severity: LOW.

GHSA-46fp-8f5p-pf2m: Vulnerability

Improper detection of disallowed URIs by Loofah `allowed_uri?`

Published .

Updated .

Reported affected releases: 2.25.0.

Affected ranges: introduced 2.25.0, fixed 2.25.1.

Fix versions reported by the advisory: 2.25.1.

Severity: LOW.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.