Description
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.
Published: 2026-11-01
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Cross‑site scripting
Action: Patch
AI Analysis

Impact

A vulnerability was identified in the SvgSanitizer.php component of Typemill CMS, specifically within the ControllerApiImage::saveImage method. The flaw permits an attacker to embed malicious JavaScript payloads into processed SVG files, resulting in stored cross‑site scripting. When the SVG is displayed by the application, the injected script executes in the context of the viewer, exposing the application to client‑side code execution risks.

Affected Systems

Typemill is affected in all releases up through version 2.26.0. The vulnerability resides in the SvgSanitizer component located under system/typemill/Models/SvgSanitizer.php. Users running Typemill versions earlier than 2.27.0 are therefore exposed.

Risk and Exploitability

The CVSS base score of 5.1 indicates moderate severity. An exploit has been published and is available, raising the practical risk. EPSS is not reported, so the exploitation probability in the wild remains uncertain. The vulnerability is remote; an attacker only needs to submit a crafted SVG image to the API endpoint. The flaw is not listed in CISA KEV.

Generated by OpenCVE AI on November 1, 2026 at 08:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Typemill to the latest release, v2.27.0, which contains the fix for the SvgSanitizer injection issue.
  • If an upgrade cannot be performed immediately, restrict SVG file uploads to trusted users, enforce server‑side validation to reject malformed SVG content, and consider disabling the API endpoint that accepts image uploads until a patch is applied.
  • Monitor application logs and server requests for unusual image upload attempts or anomalous JavaScript payloads and investigate any detected anomalies promptly.

Generated by OpenCVE AI on November 1, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 01 Nov 2026 06:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Typemill SvgSanitizer.php saveImage cross site scripting
First Time appeared Typemill
Typemill typemill
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:typemill:typemill:*:*:*:*:*:*:*:*
Vendors & Products Typemill
Typemill typemill
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 3.5, 'vector': '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'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Typemill Typemill
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-11-01T06:30:17.213Z

Reserved: 2026-10-31T17:08:32.115Z

Link: CVE-2026-120218

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-01T07:17:26.813

Modified: 2026-11-01T07:17:31.153

Link: CVE-2026-120218

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-01T08:30:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')