AUGUST 14, 2026
Live Feed
Back to database
Case File

CVE-2026-73491

LOW · CVSS 2.3 EPSS 0.24% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-12 · Last synced 2026-08-14

CyberRota Analysis

AI-Generated

The vulnerability affects the Loofah library versions 2.25.0 to 2.25.2, specifically in the `allowed_uri?` method, which fails to properly reject certain malformed `javascript:` URIs that are prefixed with HTML5 whitespace character references. This oversight can lead to potential execution of malicious JavaScript when HTML-encoded strings are passed directly to the method, posing a risk to applications that rely on this functionality for sanitizing user input. Developers using affected versions of Loofah should prioritize updating to version 2.25.2 to mitigate this security risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-73491
Severity
LOW
CVSS
2.3
EPSS
0.24%
Java

Original NVD Description

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.