Skip to main content

ThinkCMF EUVDEUVD-2026-89477

| CVE-2026-102771 LOW
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-09-29 VulDB GHSA-8648-mq73-m727
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 as admin to ThinkCMF backend
  2. Delivery
    Open Email Template editor
  3. Exploit
    Submit crafted template with SSTI payload
  4. Execution
    Server renders and evaluates expression
  5. Impact
    Disclose or manipulate application data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Requires an authenticated high-privilege (administrator) session with access to the Email Template management feature (MailController::templatePut in cmf-api/src/admin/controller/MailController.php) on ThinkCMF up to 8.0.7; the attacker must be able to submit a template body that reaches the template engine unsanitized. Limiting factors: PR:H means default anonymous or low-privilege users cannot exploit it - only accounts already trusted with admin template editing. No user interaction (UI:N) beyond the attacker's own submission, and it is network-reachable, but the admin-authentication barrier is the dominant constraint. No patched version is available since the vendor did not respond.

Impact

This is a genuinely low-priority issue despite being a server-side template injection (SSTI, CWE-1336) flaw, which in many contexts is a critical RCE vector. The controlling factor is the CVSS 4.0 vector's PR:H: exploitation requires an already-authenticated high-privilege (administrator) account, because the vulnerable MailController::templatePut function sits behind the ThinkCMF admin email-template management interface. The vendor-assigned CVSS 4.0 base score is only 2.0, with all three vulnerable-system impacts rated Low (VC:L/VI:L/VA:L) - reflecting that an admin injecting template code gains little beyond the privileges they already hold. Signals partly conflict: a public exploit exists (E:P, POC on GitHub) and the attack is network-reachable (AV:N/AC:L/AT:N), which raises the theoretical exposure, but there is no EPSS score, no CISA KEV listing, and no evidence of active exploitation. The 'Information Disclosure' tag understates the class - SSTI is a code-injection primitive - yet the low impact ratings are defensible given the PR:H precondition. Net: real but marginal risk, primarily an insider/privilege-abuse or post-compromise concern rather than a mass-exploitable perimeter flaw.

Exploit ScenarioDerived

An authenticated administrator (or an attacker who has already stolen admin credentials) navigates to the email template management feature and submits a crafted template payload containing template-engine expressions via the templatePut function. When the template is rendered, the injected expressions are evaluated server-side, allowing manipulation of application data or output. A public exploit report/POC is available on GitHub (coolcj-stack/ThinkCMF-v8.0.1-SSTI-Vulnerability), lowering the effort to reproduce.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 29, 2026

Server-side template injection in the Email Template component of ThinkCMF up to 8.0.7 lets an authenticated administrator submit template content that the underlying template engine evaluates server-side, enabling data exposure or logic execution within the application's privileges. Exploitation requires a privileged session able to reach MailController::templatePut in cmf-api/src/admin/controller/MailController.php, so anonymous and low-privilege users cannot trigger it; publicly available exploit code exists (a GitHub write-up targeting ThinkCMF v8.0.1), but there is no indication of confirmed active exploitation in CISA KEV. No vendor patch has been issued because the vendor did not respond to the disclosure, and independent assessment rates this a genuinely low-priority finding despite the SSTI classification.

RemediationAI

No vendor-released patch has been identified at the time of analysis: the vendor was contacted before publication and did not respond, and no fixed ThinkCMF version is documented in the available references (https://vuldb.com/vuln/411468, https://vuldb.com/cve/CVE-2026-102771). Because the exposure is gated behind an authenticated administrator session, the primary mitigation is to remove the attack surface and shrink the trusted admin population rather than rely on a fix that does not yet exist: disable or remove the Email Template admin feature (or block the route handling MailController::templatePut) until a patched release ships, accepting that administrators will lose the ability to edit mail templates through the UI and must manage templates on disk instead; restrict /cmf-api/admin and the rest of the ThinkCMF admin panel to an IP allowlist, management VPN, or zero-trust proxy, with the trade-off that legitimate administrators lose off-network access; enforce MFA and audit/rotate administrator credentials, since PR:H means any stolen admin session already satisfies the exploitation prerequisite; and apply least privilege so that template-editing capability is granted to as few accounts as possible. If the feature cannot be disabled, sanitize submitted template bodies against an explicit placeholder allowlist (rejecting template delimiters and expression/function-evaluation syntax before rendering) and deploy a WAF rule that blocks those delimiters on the admin mail-template endpoint, while monitoring for false positives and for legitimate templates that depend on dynamic expressions. Lastly, enable detailed admin action logging on mail-template saves and outbound connection monitoring for the web server process, since post-exploitation activity from an already-privileged account is the most likely detection signal; if the vendor remains unresponsive, plan migration to a maintained fork or an actively supported CMS with a documented security response process.

Affected VersionsENISA

ThinkCMF 8.0.4
ThinkCMF 8.0.7
ThinkCMF 8.0.3
ThinkCMF 8.0.0
ThinkCMF 8.0.1
ThinkCMF 8.0.2
ThinkCMF 8.0.6
ThinkCMF 8.0.5

Affected Packages

euvd thinkcmf 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

ThinkCMF is a PHP-based content management framework built on the ThinkPHP stack, and its admin email-template feature renders operator-supplied template bodies through the framework's template engine. CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) describes the root cause: the template body accepted by MailController::templatePut is passed to the engine without neutralizing template control syntax, so directives such as variable interpolation or expression-evaluation constructs are interpreted rather than treated as literal text. Template engines of this family can reach arbitrary PHP callables in many configurations, which is why SSTI is often equated with code execution, but in this specific case the independent assessment constrains the realistic effect to low confidentiality, integrity, and availability impact within the same security authority (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L). The CPE metadata (cpe:2.3:a:naichen:thinkcmf:*:*:*:*:*:*:*:*) carries no version bound, so the affected footprint should be read as the ThinkCMF 8.x line through 8.0.7 plus any unpatched earlier release that still exposes the same controller path; the accompanying tags (PHP, SSTI, Information Disclosure, ThinkCMF) and the public PoC target (v8.0.1) reinforce that this is a persistent, version-agnostic weakness in the mail-template admin surface rather than a narrowly bounded regression.

Know when Thinkcmf 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:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.7 MEDIUM

Network-reachable admin feature requires high-privilege authentication (PR:H); SSTI by an already-privileged admin yields only limited additional confidentiality, integrity, and availability impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/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
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Sep 29, 2026 - 22:22 NVD
MEDIUM LOW
CVSS changed
Sep 29, 2026 - 22:22 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Sep 29, 2026 - 22:00 cve.org
LOW 2.0

DescriptionCVE.org

A security vulnerability has been detected in Naichen ThinkCMF up to 8.0.7. Affected by this issue is the function MailController::templatePut of the file cmf-api/src/admin/controller/MailController.php of the component Email Template. The manipulation leads to improper neutralization of special elements used in a template engine. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source Chinese PHP CMS, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 Yes
EPSS 0.2%
Patch available No
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2024-31615 CRITICAL POC
9.8 Apr 25

ThinkCMF 6.0.9 is vulnerable to File upload via UeditorController.php. Rated critical severity (CVSS 9.8), this vulnerab

CVE-2022-40489 HIGH POC
8.8 Dec 01

ThinkCMF version 6.0.7 is affected by a Cross Site Request Forgery (CSRF) vulnerability that allows a Super Administrato

CVE-2019-7580 HIGH POC
8.8 Feb 07

ThinkCMF 5.0.190111 allows remote attackers to execute arbitrary PHP code via the portal/admin_category/addpost.html ali

CVE-2018-19898 HIGH POC
8.8 Dec 06

ThinkCMF X2.2.2 has SQL Injection via the method edit_post in ArticleController.class.php and is exploitable by normal a

CVE-2018-19897 HIGH POC
7.2 Dec 06

ThinkCMF X2.2.2 has SQL Injection via the function _listorders() in AdminbaseController.class.php and is exploitable wit

CVE-2018-19896 HIGH POC
7.2 Dec 06

ThinkCMF X2.2.2 has SQL Injection via the function delete() in SlideController.class.php and is exploitable with the man

CVE-2018-19895 HIGH POC
7.2 Dec 06

ThinkCMF X2.2.2 has SQL Injection via the function edit_post() in NavController.class.php and is exploitable with the ma

CVE-2018-19894 HIGH POC
7.2 Dec 06

ThinkCMF X2.2.2 has SQL Injection via the functions check() and delete() in CommentadminController.class.php and is expl

CVE-2018-16141 MEDIUM POC
6.5 Aug 30

ThinkCMF X2.2.3 has an arbitrary file deletion vulnerability in do_avatar in \application\User\Controller\ProfileControl

CVE-2019-6713 CRITICAL
9.8 Jan 23

app\admin\controller\RouteController.php in ThinkCMF 5.0.190111 allows remote attackers to execute arbitrary PHP code by

CVE-2022-40849 MEDIUM POC
5.4 Dec 01

ThinkCMF version 6.0.7 is affected by Stored Cross-Site Scripting (XSS). Rated medium severity (CVSS 5.4), this vulnerab

CVE-2026-111352 HIGH
8.7 Oct 15

Privilege escalation in ThinkCMF through 8.0.1 allows an authenticated restricted backend administrator with a valid adm

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