---
id: CVE-2026-121447
title: svg-sanitizer before 1.1.0 XSS via animateTransform on Safari
summary: >-
  svg-sanitizer before 1.1.0 contains a cross-site scripting vulnerability that
  allows attackers to bypass sanitization by placing javascript: URLs in the
  animateTransform values attribute. Attackers can upload crafted SVG files
  whose anim…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: darylldoyle
product: svg-sanitizer
affected:
  - svg-sanitizer < 1.1.0
published: '2026-11-03'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T14:28:36.093Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-121447'
references:
  - url: >-
      https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-q546-85r6-f39q
    label: GitHub Security Advisory (GHSA-q546-85r6-f39q)
  - url: >-
      https://www.vulncheck.com/advisories/svg-sanitizer-before-1.1.0-xss-via-animatetransform-on-safari
    label: >-
      VulnCheck Advisory: svg-sanitizer before 1.1.0 XSS via animateTransform on
      Safari
tags:
  - cve.org
epss: 0.00171
epssPercentile: 0.06555
ingestedAt: '2026-11-05T19:30:42.972Z'
---

## Overview

svg-sanitizer before 1.1.0 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization by placing javascript: URLs in the animateTransform values attribute. Attackers can upload crafted SVG files whose animateTransform targets the href attribute, executing arbitrary JavaScript when Safari users click the link.

## Affected

- `svg-sanitizer < 1.1.0`

## Remediation

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