CVE-2026-73491flavorjones loofah
Low 2.3
Follow: this CVE · flavorjones · flavorjones loofah We alert you by email or Slack (account required).
- Priority
- 14
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 12, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-184
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS: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
What happens
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.
What to do
- Apply the vendor's security update for loofah.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | loofah |
≥ 2.25.0 < 2.25.2 |
2.25.2 |
gem "loofah", ">= 2.25.2" |
Per OSV / GitHub Advisories (GHSA-8whx-365g-h9vv). Check the version in your lockfile before upgrading.
Affected products
- flavorjones · loofah
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24712-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24722-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · openSUSE-SU-2026:22305-1 · Nov 6, 2026 Critical
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.