CVE-2026-73491
published 2026-08-12CVE-2026-73491: Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2…
PriorityP414low2.3CVSS 4.0
AVNACHATNPRLUINVCNVINVANSCLSILSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.39%
32.5th percentile
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references or
. CGI.unescapeHTML leaves those references intact, so allowed_uri? reports the URL safe even though a browser decodes and strips the tab or line feed and executes the resulting javascript: URL. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize() path is not affected. This issue is fixed in version 2.25.2.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| flavorjones | loofah | — | — |
CVSS provenance
nvdv4.02.3LOWCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat2.3LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
flavorjones Loofah up to 2.25.1 HTML5 Scrub Scrub.allowed_uri? HTML injection
vuldb·2026-08-12·CVSS 2.3
CVE-2026-73491 [LOW] flavorjones Loofah up to 2.25.1 HTML5 Scrub Scrub.allowed_uri? HTML injection
A vulnerability classified as problematic has been found in flavorjones Loofah up to 2.25.1. This issue affects the function Loofah::HTML5::Scrub.allowed_uri? of the component HTML5 Scrub. Performing a manipulation results in HTML injection.
This vulnerability was named CVE-2026-73491. The attack may be initiated remotely. There is no available exploit.
It is recommended to upgrade the affected component.
Red Hat
loofah: Loofah: Cross-Site Scripting via malformed `javascript:` URI parsing
vendor_redhat·2026-08-12·CVSS 2.3
CVE-2026-73491 [LOW] CWE-1289 loofah: Loofah: Cross-Site Scripting via malformed `javascript:` URI parsing
loofah: Loofah: Cross-Site Scripting via malformed `javascript:` URI parsing
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references or
. CGI.unescapeHTML leaves those references intact, so allowed_uri? reports the URL safe even though a browser decodes and strips the tab or line feed and executes the resulting javascript: URL. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize() path is not affected. This issue is fixed in version 2.25.2.
A flaw was found in Loofah. The `Loofah::HTM
No detection rules found.
No public exploits indexed.
2026-08-12
Published