---
id: CVE-2026-117541
title: svg-sanitizer 0.11.0 before 1.1.0 Uncaught LogicException DoS via sanitize()
summary: >-
  svg-sanitizer from 0.11.0 before 1.1.0 contains an uncaught exception
  vulnerability that allows attackers to crash callers by submitting well-formed
  XML without a top-level svg root. Attackers can supply documents with a
  non-svg root or …
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-248
vendor: darylldoyle
product: svg-sanitizer
affected:
  - svg-sanitizer >= 0.11.0 < 1.1.0
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-27T13:46:28.439121Z'
published: '2026-10-27'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T14:12:13.476Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-117541'
references:
  - url: >-
      https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-cgcm-4g72-hfgw
    label: GitHub Security Advisory (GHSA-cgcm-4g72-hfgw)
  - url: >-
      https://github.com/darylldoyle/svg-sanitizer/commit/9ba9001493f5da737759303f13bd965ebdaa778c
  - url: >-
      https://www.vulncheck.com/advisories/svg-sanitizer-0.11.0-before-1.1.0-uncaught-logicexception-dos-via-sanitize
    label: >-
      VulnCheck Advisory: svg-sanitizer 0.11.0 before 1.1.0 Uncaught
      LogicException DoS via sanitize()
tags:
  - cve.org
ingestedAt: '2026-10-27T16:11:59.440Z'
---

## Overview

svg-sanitizer from 0.11.0 before 1.1.0 contains an uncaught exception vulnerability that allows attackers to crash callers by submitting well-formed XML without a top-level svg root. Attackers can supply documents with a non-svg root or nested svg element, causing Sanitizer::sanitize() to throw a LogicException instead of returning false, crashing workers or bypassing upload rejection.

## Affected

- `svg-sanitizer >= 0.11.0 < 1.1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
