Home / darylldoyle / svg-sanitizer / CVE-2026-107381
CVE-2026-107381: is it exploited, and which versions of darylldoyle svg-sanitizer are affected and fixed?
CVE-2026-107381 is an improper Handling of Case Sensitivity vulnerability in darylldoyle svg-sanitizer. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: enshrined/svg-sanitize before 1.0.0 (GitHub advisory GHSA-m9xh-6747-9r6f). Fixed in 1.0.0 (GitHub advisory GHSA-m9xh-6747-9r6f). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-107381?
svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences
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.
From the CVE record by GitHub_M, last updated October 18, 2026, 13:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| darylldoyle | svg-sanitizer | < 1.0.0 |
As the CVE record by GitHub_M states it, last updated October 18, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | enshrined/svg-sanitize | < 1.0.0 | 1.0.0 | GHSA-m9xh-6747-9r6f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 8, 2026. Summary: svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences.
How severe is CVE-2026-107381?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-107381 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 18, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-m9xh-6747-9r6f x_refsource_CONFIRM
- https://github.com/darylldoyle/svg-sanitizer/commit/2dff6628314de8519155b7feb218bbe132785757 x_refsource_MISC
- https://github.com/darylldoyle/svg-sanitizer/releases/tag/1.0.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 7, 2026
- Published
- October 14, 2026, 14:53 UTC
- CVE record updated
- October 18, 2026, 13:36 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 18, 2026, 14:16 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect svg-sanitizer?
- Nov 3, 2026CVE-2026-121447 darylldoyle svg-sanitizer: cross-site scripting (XSS)
- Nov 3, 2026CVE-2026-121446 darylldoyle svg-sanitizer: incomplete Filtering of Special Elements
- Nov 3, 2026CVE-2026-121445 darylldoyle svg-sanitizer: unusual condition not checked
- Nov 3, 2026CVE-2026-121444 darylldoyle svg-sanitizer: denial of service (uncontrolled resource consumption)
- Nov 3, 2026CVE-2026-121443 darylldoyle svg-sanitizer: uncaught exception (crash)
- Oct 27, 2026CVE-2026-117541 darylldoyle svg-sanitizer: uncaught exception (crash)
- Oct 27, 2026CVE-2026-117540 darylldoyle svg-sanitizer: denial of service through slow algorithm
- Oct 27, 2026CVE-2026-117539 darylldoyle svg-sanitizer: cross-site scripting (XSS)
Questions about CVE-2026-107381
Is CVE-2026-107381 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of darylldoyle svg-sanitizer are affected by CVE-2026-107381?
enshrined/svg-sanitize before 1.0.0, per the GitHub advisory GHSA-m9xh-6747-9r6f. The tables above give every range the sources list.
Which version fixes CVE-2026-107381?
1.0.0, per the GitHub advisory GHSA-m9xh-6747-9r6f. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-107381?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-107381?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.