Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. loofah
  4. ›
  5. GHSA-8whx-365g-h9vv

GHSA-8whx-365g-h9vv: Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character references

July 21, 2026 (updated August 12, 2026)

Loofah::HTML5::Scrub.allowed_uri? does not correctly reject javascript: URIs when the scheme is split or prefixed by the HTML5 named character references 	 (tab) or 
 (line feed).

References

  • github.com/advisories/GHSA-8whx-365g-h9vv
  • github.com/flavorjones/loofah/commit/5e91af861e3cdab47b91dd0b81f3afdfd13a5e19
  • github.com/flavorjones/loofah/releases/tag/v2.25.2
  • github.com/flavorjones/loofah/security/advisories/GHSA-8whx-365g-h9vv
  • nvd.nist.gov/vuln/detail/CVE-2026-73491

Code Behaviors & Features

Detect and mitigate GHSA-8whx-365g-h9vv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.25.0 before 2.25.2

Fixed versions

  • 2.25.2

Solution

Upgrade to version 2.25.2 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs

Source file

gem/loofah/GHSA-8whx-365g-h9vv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:14 +0000.