Skip to main content

Typemill CVE-2026-141597

| EUVDEUVD-2026-140785 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 VulnCheck GHSA-jj37-whmv-5r33
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as manager-role user
  2. Delivery
    Craft markdown link block with event-handler attribute
  3. Exploit
    Submit payload to authpagerightcontent via settings API
  4. Execution
    Payload stored and rendered on login page
  5. Persist
    Administrator visits login page
  6. Impact
    Script executes in admin browser

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

Exploitation requires an authenticated account holding the Typemill manager role with access to the settings API, used to set the authpagerightcontent login-page configuration value to a markdown link attribute block carrying an event-handler attribute. Execution additionally requires a victim to load the login page (UI:P) - the attack pays off specifically when an administrator visits it. Limiting factors: the attacker must already have manager-level privileges (not unauthenticated or remote-anonymous), the injection point is a specific login-page setting rendered through the markdown() Twig function, and only affects deployments running 2.24.0 up to but not including 2.28.1. Updating to 2.28.1, which enables Parsedown safe mode for this rendering path, is the vendor's fix.

Impact

This is a genuine but comparatively low-urgency issue, and the signals are mostly consistent. The vendor-assigned CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N with subsequent-system SC:L/SI:L) yields a 4.8 (Medium) and is coherent with the description: exploitation requires an already-privileged manager-role account (PR:H) and a victim who passively loads the affected login page (UI:P), with only limited confidentiality/integrity impact typical of XSS. There is no CISA KEV listing and no EPSS score supplied, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_month', not act_now/emergency, consistent with a privileged-attacker stored-XSS rather than a mass-exploited flaw. No POC or exploit reference is present (only a VulnCheck advisory and the patch commit), so this should be treated as a configuration/insider-leaning privilege-escalation-to-admin vector rather than an unauthenticated internet threat. The main residual risk is that the login-page injection point lets a manager-level user escalate into an administrator's session, so the real question is how much a deployment trusts its manager-role accounts.

Exploit ScenarioDerived

A user who already holds the manager role submits a crafted markdown link attribute block containing an event-handler attribute (e.g. an onmouseover/onerror handler) through the settings API, targeting the authpagerightcontent login-page setting. Because the markdown() Twig function renders that value without safe mode, the payload is stored and later executed in the browser of anyone who visits the login page - most dangerously an administrator - enabling session theft or actions in the admin's context. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Dec 02, 2026

Stored cross-site scripting in Typemill 2.24.0 through 2.28.0 lets an authenticated user holding the manager role write a markdown link-attribute block containing an event-handler attribute into the authpagerightcontent login-page setting, which the markdown() Twig function then renders without sanitization. The script executes in the browser of anyone who loads the login page, which is the path by which an administrator can be compromised. Exploitation requires manager-level privileges plus a victim visiting the login page, so the practical risk is privilege escalation within the CMS rather than anonymous compromise; no public exploit is identified at time of analysis, and the vendor fixed the issue in 2.28.1 by enabling Parsedown safe mode for that rendering path.

RemediationAI

Vendor-released patch: upgrade to Typemill 2.28.1 (https://github.com/typemill/typemill/releases/tag/v2.28.1), which corresponds to commit f25bebf765f654b7453abe6ea373a83a0bd38819 enabling Parsedown setSafeMode(true) around the markdown() rendering in system/typemill/Extensions/TwigMarkdownExtension.php and thereby neutralizing raw HTML attributes stored in authpagerightcontent. Because the injection point is a manager-writable setting, interim exposure is bounded by who holds that role: restrict and audit accounts with the manager role and settings API access, and inspect the current authpagerightcontent value for markdown link attribute blocks carrying on* event handlers, clearing any found - note that this is a detection and cleanup measure, not a substitute for the update, and it leaves the vulnerable render path in place for future writes. Purging or re-checking that setting after the upgrade is not harmful but the vendor's complete fix is the safe-mode change, so updating remains the only durable remediation; no other workaround is documented in the available sources.

Affected VersionsENISA

typemill 2.24.0 <2.28.1

Affected Packages

euvd typemill fix: 2.28.1

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 flat-file PHP CMS that renders content and settings through Twig templates. Its TwigMarkdownExtension registers a markdown() Twig function that instantiates a ParsedownExtension, converts the supplied markdown text to a parsed structure, and returns the resulting markup. In the affected releases (reference points at v2.28.0, TwigMarkdownExtension.php lines 33-40) that pipeline ran without Parsedown's safe mode, so embedded raw HTML and attribute blocks in the markdown source were passed through to the output. The authpagerightcontent setting is a login-page content field rendered through this function, which is why a payload stored in that setting reaches unauthenticated visitors of the login screen. The flaw is CWE-79 (improper neutralization of input during web page generation): the markdown renderer is used as a trusted transform on a value that a privileged-but-not-fully-trusted editor can control. The upstream fix walks the same code path but brackets it with setSafeMode(true) before text()/markup() and setSafeMode(false) afterwards, so raw HTML in markdown is neutralized for this render. The companion changes in the same commit (documentation agent and opencode.json model settings) are unrelated tooling edits.

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 (VulnCheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 4.8 MEDIUM

Requires an authenticated manager account (PR:H) and a victim loading the login page (UI:R); stored XSS executing in another user's browser is a scope change (S:C) with limited C/I and no availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Typemill 2.24.0 before 2.28.1 contains a stored cross-site scripting vulnerability that allows users with the manager role to inject script through the authpagerightcontent setting rendered unsafely by the markdown() Twig function. Attackers can submit markdown link attribute blocks with event-handler attributes via the settings API to execute script in browsers of login page visitors, including administrators.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
Typemill is a niche PHP flat-file CMS with limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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