Skip to main content

Loofah

10 CVEs product

Monthly

CVE-2026-73492 Aug 12, 21:00 Ruby LOW PATCH Monitor

Cross-site scripting in Loofah 2.25.0-2.25.1 is possible when applications call `Loofah::HTML5::Scrub.allowed_uri?` directly with HTML-encoded strings, because the method fails to detect `javascript:` or `vbscript:` schemes disguised via semicolon-less numeric character references such as `&#58` (colon) or `&#9` (tab). This is a bypass of the prior fix in GHSA-46fp-8f5p-pf2m, which covered semicoloned references (`:`) but not the semicolon-less form that browsers still decode and execute. Loofah's default `sanitize()` path is not affected; only direct callers of the string-level `allowed_uri?` API - including Action Text 8.2's markdown link validation - are at risk. No public exploit identified at time of analysis; CVSS 4.0 scores this 2.3, reflecting narrow attack surface and high exploitation complexity.

XSS Loofah Flavorjones
NVD VulDB GitHub
CVSS 4.0
2.3
EPSS
0.2%
CVE-2026-73491 Aug 12, 20:59 Ruby LOW PATCH Monitor

Cross-site scripting bypass in Loofah 2.25.0-2.25.1 allows attackers to smuggle `javascript:` URIs past the `allowed_uri?` helper by inserting HTML5 named whitespace character references (`	` or `
`) into the scheme. This is a partial bypass of the earlier fix for GHSA-46fp-8f5p-pf2m, which patched numeric character references but not named forms. Only callers that invoke `allowed_uri?` directly with HTML-encoded strings are vulnerable - including Action Text 8.2 markdown link validation - while Loofah's default `sanitize()` pipeline is explicitly unaffected. No public exploit identified at time of analysis; vendor-released patch in version 2.25.2.

Information Disclosure Loofah Flavorjones
NVD VulDB GitHub
CVSS 4.0
2.3
EPSS
0.2%
CVE-2026-73490 Aug 12, 20:58 Ruby MEDIUM PATCH This Month

SVG href attribute bypass in Loofah prior to 2.25.2 allows a crafted sanitized SVG to reference arbitrary same-origin external documents, defeating the HTML5 sanitizer's local-reference restriction. Applications accepting user-supplied SVG content and rendering it to other users are directly affected: SVG use elements can load and render same-origin external SVG containing scripts, while feImage elements can silently fetch external images for tracking. No public exploit or CISA KEV listing exists at time of analysis, but the bypass technique is straightforward and publicly disclosed via the GHSA advisory and PR diff.

XSS Loofah Flavorjones
NVD VulDB GitHub
CVSS 3.1
4.7
EPSS
0.2%
CVE-2022-23518 Dec 14, 17:15 Ruby MEDIUM POC PATCH This Month

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

XSS Debian Debian Linux Loofah Rails Html Sanitizers +2
NVD GitHub
CVSS 3.1
6.1
EPSS
0.9%
CVE-2022-23516 Dec 14, 14:15 Ruby HIGH PATCH This Week

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Denial Of Service Loofah Loofah Project
NVD GitHub
CVSS 3.1
7.5
EPSS
1.1%
CVE-2022-23515 Dec 14, 14:15 Ruby MEDIUM PATCH This Month

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

XSS Debian Debian Linux Loofah Loofah Project
NVD GitHub
CVSS 3.1
6.1
EPSS
0.8%
CVE-2022-23514 Dec 14, 14:15 Ruby HIGH PATCH This Week

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Denial Of Service Loofah Loofah Project
NVD GitHub
CVSS 3.1
7.5
EPSS
1.7%
CVE-2019-15587 Oct 22, 21:15 Ruby MEDIUM PATCH This Month

In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Debian Canonical Debian Linux Fedora +4
NVD GitHub
CVSS 3.1
5.4
EPSS
1.6%
CVE-2018-16468 Oct 30, 21:29 Ruby MEDIUM PATCH This Month

In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Debian Debian Linux Loofah Loofah Project
NVD GitHub
CVSS 3.0
5.4
EPSS
0.9%
CVE-2018-8048 Mar 27, 17:29 Ruby MEDIUM PATCH This Month

In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

XSS Debian Debian Linux Loofah Loofah Project
NVD GitHub
CVSS 3.0
6.1
EPSS
2.0%
EPSS 0% CVSS 2.3
LOW PATCH Monitor

Cross-site scripting in Loofah 2.25.0-2.25.1 is possible when applications call `Loofah::HTML5::Scrub.allowed_uri?` directly with HTML-encoded strings, because the method fails to detect `javascript:` or `vbscript:` schemes disguised via semicolon-less numeric character references such as `&#58` (colon) or `&#9` (tab). This is a bypass of the prior fix in GHSA-46fp-8f5p-pf2m, which covered semicoloned references (`:`) but not the semicolon-less form that browsers still decode and execute. Loofah's default `sanitize()` path is not affected; only direct callers of the string-level `allowed_uri?` API - including Action Text 8.2's markdown link validation - are at risk. No public exploit identified at time of analysis; CVSS 4.0 scores this 2.3, reflecting narrow attack surface and high exploitation complexity.

XSS Loofah Flavorjones
NVD VulDB GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

Cross-site scripting bypass in Loofah 2.25.0-2.25.1 allows attackers to smuggle `javascript:` URIs past the `allowed_uri?` helper by inserting HTML5 named whitespace character references (`	` or `
`) into the scheme. This is a partial bypass of the earlier fix for GHSA-46fp-8f5p-pf2m, which patched numeric character references but not named forms. Only callers that invoke `allowed_uri?` directly with HTML-encoded strings are vulnerable - including Action Text 8.2 markdown link validation - while Loofah's default `sanitize()` pipeline is explicitly unaffected. No public exploit identified at time of analysis; vendor-released patch in version 2.25.2.

Information Disclosure Loofah Flavorjones
NVD VulDB GitHub
EPSS 0% CVSS 4.7
MEDIUM PATCH This Month

SVG href attribute bypass in Loofah prior to 2.25.2 allows a crafted sanitized SVG to reference arbitrary same-origin external documents, defeating the HTML5 sanitizer's local-reference restriction. Applications accepting user-supplied SVG content and rendering it to other users are directly affected: SVG use elements can load and render same-origin external SVG containing scripts, while feImage elements can silently fetch external images for tracking. No public exploit or CISA KEV listing exists at time of analysis, but the bypass technique is straightforward and publicly disclosed via the GHSA advisory and PR diff.

XSS Loofah Flavorjones
NVD VulDB GitHub
EPSS 1% CVSS 6.1
MEDIUM POC PATCH This Month

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

XSS Debian Debian Linux +4
NVD GitHub
EPSS 1% CVSS 7.5
HIGH PATCH This Week

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Denial Of Service Loofah Loofah Project
NVD GitHub
EPSS 1% CVSS 6.1
MEDIUM PATCH This Month

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

XSS Debian Debian Linux +2
NVD GitHub
EPSS 2% CVSS 7.5
HIGH PATCH This Week

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Denial Of Service Loofah Loofah Project
NVD GitHub
EPSS 2% CVSS 5.4
MEDIUM PATCH This Month

In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Debian Canonical +6
NVD GitHub
EPSS 1% CVSS 5.4
MEDIUM PATCH This Month

In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Debian Debian Linux +2
NVD GitHub
EPSS 2% CVSS 6.1
MEDIUM PATCH This Month

In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

XSS Debian Debian Linux +2
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy