Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-73490— Loofah: SVG `href` attribute bypasses local-reference restriction

Quick assessment

Affected
flavorjones loofah
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mike Dalessio Loofah是Mike Dalessio个人开发者开源的一款HTML文档处理组件。 flavorjones loofah 2.25.2之前版本存在跨站脚本漏洞,该漏洞源于HTML5清理器仅对SVG use和feImage元素上的xlink:href属性应用本地引用限制,而浏览器也接受普通href属性,导致精心构造的SVG可引用外部文档,容易受到跨站脚本攻击。

CVSS 4.7 · Medium EPSS 0.30% · P20

Affected Version Matrix 1

VendorProduct Version RangeStatus
flavorjones loofah < 2.25.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-73490

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Loofah: SVG `href` attribute bypasses local-reference restriction
Source: CVE Program / CVE List V5
Vulnerability Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue is fixed in version 2.25.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
flavorjones loofah 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mike Dalessio Loofah是Mike Dalessio个人开发者开源的一款HTML文档处理组件。 flavorjones loofah 2.25.2之前版本存在跨站脚本漏洞,该漏洞源于HTML5清理器仅对SVG use和feImage元素上的xlink:href属性应用本地引用限制,而浏览器也接受普通href属性,导致精心构造的SVG可引用外部文档,容易受到跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
flavorjones loofah < 2.25.2 -

II. Public POCs for CVE-2026-73490

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-73490

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-73490 (2)

Vendor Advisories for CVE-2026-73490 (1)

Vendor Pages for CVE-2026-73490 (1)

Same Patch Batch · flavorjones · 2026-08-12 · 3 CVEs total

CVE-2026-73491 2.3 LOW Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace charact
CVE-2026-73492 2.3 LOW Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character refere

IV. Related Vulnerabilities

V. Comments for CVE-2026-73490

No comments yet


Leave a comment