Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73490: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flavorjones loofah

0
Medium
VulnerabilityCVE-2026-73490cvecve-2026-73490cwe-79
Published: 08/12/2026 (08/12/2026, 20:58:12 UTC)
Source: CVE Database V5
Vendor/Project: flavorjones
Product: loofah

Description

Loofah versions prior to 2.25.2 have a cross-site scripting vulnerability due to improper sanitization of SVG href attributes. The sanitizer only restricts xlink:href but browsers also accept href, allowing crafted SVGs to reference same-origin external documents that may contain malicious scripts or tracking images. This issue is fixed in version 2.25.2.

CVSS v3.1

Score 4.7medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

loofah
pkg:gem/loofah
Affected versions
<2.25.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 21:27:39 UTC

Technical Analysis

Loofah is an HTML/XML manipulation library built on Nokogiri. Before version 2.25.2, its HTML5 sanitizer applies local-reference restrictions only to the xlink:href attribute on SVG use and feImage elements, but browsers also accept the plain href attribute. This discrepancy allows a crafted sanitized SVG to reference arbitrary same-origin external documents, potentially rendering external SVG content with scripts or loading external images for tracking. Applications sanitizing user-supplied SVG with Loofah's default allowlist are affected. The vulnerability is addressed in version 2.25.2.

Potential Impact

An attacker can craft SVG content that bypasses the sanitizer's restrictions and references same-origin external documents containing malicious scripts or tracking images. This can lead to cross-site scripting (XSS) attacks with limited impact on confidentiality and integrity, and no impact on availability, as indicated by the CVSS vector. The vulnerability requires user interaction and has a high attack complexity.

Mitigation Recommendations

Upgrade Loofah to version 2.25.2 or later, where this issue is fixed. No other official remediation or temporary fixes are documented. Patch status is not yet confirmed by a vendor advisory, but the fix version is explicitly stated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-12T19:00:33.735Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7ce1eabf8831d5392b035b

Added to database: 08/12/2026, 21:13:14 UTC

Last enriched: 08/12/2026, 21:27:39 UTC

Last updated: 08/13/2026, 01:32:47 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses