GHSA-46fp-8f5p-pf2m — Vulnerability in loofah — Advisory Details
Improper detection of disallowed URIs by Loofah `allowed_uri?`
Summary
Advisory Timeline
- First published March 18, 2026 (208 days ago).
- Last revised September 10, 2026 — 175 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install loofah -v 2.25.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| loofah | rubygems | 2.25.0 | 2.25.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.2 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U
References
Frequently Asked Questions
- What is GHSA-46fp-8f5p-pf2m?
- Improper detection of disallowed URIs by Loofah `allowed_uri?` This vulnerability has been assigned a severity rating of LOW (CVSS score: 7.2/10).
- How do I check if my project is affected by GHSA-46fp-8f5p-pf2m?
- GHSA-46fp-8f5p-pf2m affects loofah. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-46fp-8f5p-pf2m and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Related CVEs
- CVE-2022-23516HIGH
Uncontrolled Recursion in Loofah
- CVE-2022-23514HIGH
Inefficient Regular Expression Complexity in Loofah
- CVE-2022-23515MEDIUM
Improper neutralization of data URIs may allow XSS in Loofah
- CVE-2026-73490MEDIUM
Loofah: SVG `href` attribute bypasses local-reference restriction
- CVE-2026-54619LOW
sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity
- CVE-2026-73492LOW
Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons
- CVE-2026-73491LOW
Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character references
- CVE-2026-54620LOW
sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies