CVE-2026-107381
Last modified
CVE-2026-107381 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| darylldoyle | svg-sanitizer | < 1.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-107381?
How severe is CVE-2026-107381?
How do I fix CVE-2026-107381?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107376webonyx graphql-php is a PHP implementation of the GraphQL s…8.2
- CVE-2026-107377datamodel-code-generator generates Python data models from s…7.5
- CVE-2026-107378CairoSVG is an SVG converter based on Cairo, a 2D graphics l…8.7
- CVE-2026-107379savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, s…6.5
- CVE-2026-10738The jQuery Hover Footnotes plugin for WordPress is vulnerabl…6.4
- CVE-2026-107380savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, s…5.4
- CVE-2026-107382MariaDB Connector/Node.js is used to connect applications de…5.9
- CVE-2026-107383MariaDB Connector/Node.js is used to connect applications de…7.5
- CVE-2026-107384MariaDB Connector/Node.js is used to connect applications de…8.1
- CVE-2026-107385MariaDB Connector/Node.js is used to connect applications de…7.4
- CVE-2026-107386amqp091-go is a Go AMQP 0.9.1 client. From 1.13.0 until 1.14…6.3
- CVE-2026-107387music-metadata is a metadata parser for audio and video medi…5.5
Are you affected by CVE-2026-107381?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
