---
id: CVE-2026-120218
title: Typemill SvgSanitizer.php saveImage cross site scripting
summary: >-
  A flaw has been found in Typemill up to 2.26.0. The impacted element is the
  function ControllerApiImage::saveImage of the file
  system/typemill/Models/SvgSanitizer.php. Executing a manipulation can lead to
  cross site scripting. The attack…
severity: low
cvss: 3.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'
cvssSource: cna
cwe:
  - CWE-79
  - CWE-94
product: Typemill
affected:
  - Typemill 2.0
  - Typemill 2.1
  - Typemill 2.2
  - Typemill 2.3
  - Typemill 2.4
  - Typemill 2.5
  - Typemill 2.6
  - Typemill 2.7
  - Typemill 2.8
  - Typemill 2.9
  - Typemill 2.10
  - Typemill 2.11
  - Typemill 2.12
  - Typemill 2.13
  - Typemill 2.14
  - Typemill 2.15
  - Typemill 2.16
  - Typemill 2.17
  - Typemill 2.18
  - Typemill 2.19
  - Typemill 2.20
  - Typemill 2.21
  - Typemill 2.22
  - Typemill 2.23
  - Typemill 2.24
  - Typemill 2.25
  - Typemill 2.26.0
exploitAvailable: true
published: '2026-11-01'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T06:30:17.213Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120218'
references:
  - url: 'https://vuldb.com/vuln/429569'
    label: VDB-429569 | Typemill SvgSanitizer.php saveImage cross site scripting
  - url: 'https://vuldb.com/vuln/429569/cti'
    label: 'VDB-429569 | CTI Indicators (IOB, IOC, TTP, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-120218'
    label: CVE-2026-120218 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/992817'
    label: >-
      Submit #992817 | trendschau TypeMill 2.26.0 Stored Cross-Site Scripting /
      Privilege Escalation (CWE-79)
  - url: >-
      https://github.com/typemill/typemill/commit/9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef
  - url: 'https://github.com/typemill/typemill/releases/tag/v2.27.0'
  - url: 'https://github.com/typemill/typemill/'
tags:
  - cve.org
  - exploit-available
epss: 0.00254
epssPercentile: 0.17154
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/capivara-research/CVE-2026-120218'
  checkedAt: '2026-11-05T18:29:26.739Z'
ingestedAt: '2026-11-05T18:28:50.693Z'
---

## Overview

A flaw has been found in Typemill up to 2.26.0. The impacted element is the function ControllerApiImage::saveImage of the file system/typemill/Models/SvgSanitizer.php. Executing a manipulation can lead to cross site scripting. The attack may be performed from remote. The exploit has been published and may be used. Upgrading to version 2.27.0 is sufficient to resolve this issue. This patch is called 9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef. It is recommended to upgrade the affected component.

## Affected

- `Typemill 2.0`
- `Typemill 2.1`
- `Typemill 2.2`
- `Typemill 2.3`
- `Typemill 2.4`
- `Typemill 2.5`
- `Typemill 2.6`
- `Typemill 2.7`
- `Typemill 2.8`
- `Typemill 2.9`
- `Typemill 2.10`
- `Typemill 2.11`
- `Typemill 2.12`
- `Typemill 2.13`
- `Typemill 2.14`
- `Typemill 2.15`
- `Typemill 2.16`
- `Typemill 2.17`
- `Typemill 2.18`
- `Typemill 2.19`
- `Typemill 2.20`
- `Typemill 2.21`
- `Typemill 2.22`
- `Typemill 2.23`
- `Typemill 2.24`
- `Typemill 2.25`
- `Typemill 2.26.0`

## Remediation

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