Skip to main content

Typemill CVE-2026-120218

| EUVDEUVD-2026-114786 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-11-01 VulDB GHSA-wh4p-gf4j-mjqc
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with media-upload privileges
  2. Exploit
    Upload crafted SVG bypassing sanitizer
  3. Execution
    Victim renders stored SVG in browser
  4. Impact
    Script executes in victim session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Typemill account with media/image upload capability (PR:L) and a second user who subsequently opens or renders the uploaded SVG (UI). The concrete flaw is in system/typemill/Models/SvgSanitizer.php in versions up to 2.26.0: the sanitizer permitted SVG files containing a DOCTYPE (DTD) declaration and did not strip XML processing instructions and comments, which per the patch can trigger XSLT transformations in browsers, yielding stored cross-site scripting. Limiting factors: exploitation is not possible without login and upload permission, it depends on a victim viewing the malicious SVG, and it only affects deployments running 2.26.0 or earlier; upgrading to 2.27.0 (which rejects DOCTYPE SVGs, loads with LIBXML_NONET, and removes processing-instruction/comment nodes) resolves it.

Impact

This is a moderate, not emergency, priority. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N, base 5.1) describes a network-reachable but privilege- and interaction-gated stored XSS: PR:L means the attacker must already hold an authenticated Typemill account able to upload media, and UI:P means a victim must subsequently render the malicious SVG. The vuln.today decision label is 'this_month' (routine patch cycle), not act_now or emergency, which is consistent with those limiting factors. It is NOT in CISA KEV, so there is no confirmed active exploitation. No EPSS score was provided, so exploitation probability cannot be quantified from this data. VulDB states an exploit has been published (E:P in the vector), but the only references are VulDB pages and the vendor patch - a public PoC reference exists; it is not verified as working exploit code. Signals are internally consistent (medium severity, authenticated+interaction-gated, no KEV, moderate decision label) rather than conflicting. Net: a real but bounded issue best handled in the normal monthly patch cycle, not a drop-everything emergency; the main risk is an authenticated low-privilege user escalating against higher-privileged users (e.g. an admin viewing the image) via stored script in the CMS.

Exploit ScenarioDerived

An authenticated Typemill user with media-upload rights uploads a crafted SVG that, prior to 2.27.0, bypasses the SvgSanitizer because DOCTYPE/DTD declarations were permitted and XML processing instructions and comments were not stripped. When another user - for example an administrator browsing the media library or a page embedding the image - renders the SVG, attacker-controlled script executes in that victim's browser. A public PoC reference is cited by VulDB, though it is not verified as working exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 01, 2026

Stored cross-site scripting in the Typemill flat-file CMS through 2.26.0 allows an authenticated user with media/image upload rights to upload a crafted SVG that executes script in a victim's browser when the file is later opened or rendered. The sanitizer in system/typemill/Models/SvgSanitizer.php accepted SVG files carrying a DOCTYPE (DTD) declaration and left XML processing instructions and comments in place, which per the patch can trigger XSLT transformations in browsers. A public exploit reference has been published and may be used, but this is a moderate, not emergency, priority requiring login, upload permission and a second user viewing the file; upgrading to 2.27.0 resolves it.

RemediationAI

Vendor-released patch: 2.27.0, published at https://github.com/typemill/typemill/releases/tag/v2.27.0 and containing commit 9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef, is sufficient to resolve the issue; upgrade Typemill from 2.26.0 or earlier to 2.27.0 (or later) using the standard update path and confirm system/typemill/Models/SvgSanitizer.php now rejects DOCTYPE-bearing SVGs, loads XML with LIBXML_NONET, and strips processing instructions and comments. Because the vendor frames upgrading as the sufficient fix and the patch works by tightening sanitizer behavior rather than adding a toggle, no separate configuration-based workaround is documented in the available sources; until the upgrade is applied on affected instances, the practical exposure reducer is restricting media/image upload privileges to trusted accounts, since the flaw requires an authenticated uploader and a viewer who opens the resulting SVG. After upgrading, re-check previously uploaded SVG assets in the media library, as files accepted under 2.26.0 are stored on disk and are not retroactively re-sanitized by the code change.

Affected VersionsENISA

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

Affected Packages

euvd typemill no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Typemill is a PHP-based flat-file CMS, and this issue sits in its SVG handling pipeline (CWE-79, cross-site scripting). The affected class SvgSanitizer is invoked from Media.php's storeFile/checkAllowedExtension paths, which previously duplicated loading, sanitizing and re-serializing logic inline; the fix 9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef consolidates this into a sanitizeSvgFiledata() helper. In the vulnerable versions the sanitizer called loadXML() without flags, did not reject documents containing a DOCTYPE, and did not strip XML processing instructions or comment nodes; the patch adds libxml_use_internal_errors handling with LIBXML_NONET, returns false when xmlDoc->doctype is not null (with a user-facing message that DOCTYPE declarations are disallowed), and adds removeProcessingInstructionsAndComments() to walk the whole document tree and delete XML_PI_NODE and XML_COMMENT_NODE children. Because SVG is XML that browsers can render as active content, retained processing instructions and DTD constructs are the mechanism the patch closes for stored XSS in the media library. The trigger as described is a sanitizer output weakness rather than a memory-safety bug; exploitation depends on an attacker-controlled upload being served back to a viewer.

Know when Typemill gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.0 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Authenticated media-upload privilege gives PR:L and victim rendering gives UI:R; stored SVG XSS crosses into the victim's browser (S:C) with limited confidentiality and integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Nov 01, 2026 - 07:22 NVD
MEDIUM LOW
CVSS changed
Nov 01, 2026 - 07:22 NVD
5.1 (MEDIUM) 2.0 (LOW)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche flat-file PHP CMS, small production footprint
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy