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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107381— svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences

Quick assessment

Affected
darylldoyle svg-sanitizer
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.

svg-sanitizer 是一个用于 PHP 的 SVG/XML 净化器。在版本 1.0.0 之前,src/ElementReference/Resolver.php 中的 Resolver::processReferences() 方法在调用 cleanHrefAttributes() 对混合大小写的属性名称进行规范化之前,会使用区分大小写的 href 属性谓词来构建 SVG <use> 引用图。攻击者可以在嵌套的 <use> 元素中提供 xlink:HrEf,使得引用图中遗漏这些引用。随后,净化器会将该属性转

CVSS 6.5 · Medium EPSS 0.42% · P35

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
darylldoyle svg-sanitizer < 1.0.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107381

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
svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences
Source: CVE Program / CVE List V5
Vulnerability Description
svg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, Resolver::processReferences() in src/ElementReference/Resolver.php builds the SVG <use> reference graph with a case-sensitive href attribute predicate before cleanHrefAttributes() normalizes mixed-case names. An attacker can provide xlink:HrEf on nested <use> elements so the graph omits those references, after which the sanitizer converts the attribute to canonical xlink:href and returns the live nesting structure without applying the useNestingLimit protection. A consuming application that renders the sanitized SVG can therefore be exposed to the resource exhaustion that control is designed to prevent. This issue is fixed in version 1.0.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
大小写敏感处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
darylldoyle svg-sanitizer < 1.0.0 -

II. Public POCs for CVE-2026-107381

# 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-107381

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

Patches & Fixes for CVE-2026-107381 (1)

Other References for CVE-2026-107381 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-107381

No comments yet


Leave a comment