Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise UJCMS backend admin credentials
-
DeliveryAuthenticate to CMS backend admin interface
-
ExploitSend crafted FreeMarker SSTI payload to web-file-template update endpoint
-
ExecutionTemplate engine renders injected directives without sanitization
-
PersistAccess JVM internals via FreeMarker reflection APIs
-
ImpactExfiltrate sensitive data or execute arbitrary OS commands
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Exploitation requires an authenticated session with high-privilege backend administrator access to the UJCMS application - this is the single most significant limiting factor. The vulnerable function is the update handler in WebFileTemplateController.java, reachable via the backend web-file-template API endpoint. The attack is network-reachable (AV:N) with no user interaction required (UI:N) and low attack complexity (AC:L) once credentials are obtained. Exploitation is entirely blocked without prior backend admin authentication; the vulnerability is also constrained to UJCMS versions 10.1.0 through 10.1.3. There is no evidence the endpoint is exploitable anonymously or by low-privilege users. Deployments that restrict backend admin panel access to internal networks or VPNs face substantially reduced exposure compared to internet-exposed admin interfaces. |
| Impact | The CVSS 4.0 base score of 5.1 (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) positions this as a moderate-severity finding, with the high privilege requirement (PR:H) being the dominant risk-reducing factor. The E:P modifier - proof-of-concept exploit publicly available - elevates practical exploitability above the base score alone. No CISA KEV listing exists, meaning no confirmed active exploitation at time of analysis. EPSS data was not provided. The critical tension in this assessment is between the vendor-assigned low impact scores and the well-established capability of unsandboxed FreeMarker SSTI to achieve full remote code execution via JVM reflection - the 'Information Disclosure' tag and low impact metrics suggest the published PoC may demonstrate only partial exploitation, but the actual ceiling depends on how aggressively UJCMS restricts FreeMarker directive access. Organizations with broadly distributed backend admin credentials or internet-exposed CMS admin panels should treat this as higher priority than the raw score implies, while those with tightly controlled admin access and internal-only backend exposure face materially lower risk. |
| Exploit ScenarioDerived | An attacker who has obtained backend administrator credentials - through phishing, credential stuffing, or insider access - authenticates to the UJCMS backend interface and submits a crafted FreeMarker template payload via the web-file-template update API endpoint. The CMS passes the attacker-controlled content to the FreeMarker engine without sanitizing dangerous directives, enabling the attacker to enumerate server-side environment variables, read sensitive configuration files, or invoke Java runtime methods to execute operating system commands. A published proof-of-concept on GitHub demonstrates this injection path and has lowered the technical barrier for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 23, 2026
Server-side template injection (SSTI) via the FreeMarker engine in Dromara UJCMS 10.1.0 through 10.1.3 allows authenticated backend administrators to inject malicious template directives through the web-file-template update API endpoint. Exploitation requires high-privilege backend credentials but is network-reachable with no user interaction, and a public proof-of-concept exploit has been published on GitHub demonstrating the attack path. The vendor-scored CVSS 4.0 impact is rated low across confidentiality, integrity, and availability, though the FreeMarker SSTI class is capable of full JVM-level code execution if template sandboxing is absent or misconfigured - defenders should not assume the impact ceiling matches the reported score.
RemediationAI
No vendor-released patch has been identified in the available intelligence - patch availability should be confirmed directly with the Dromara UJCMS project repository. As the primary compensating control, restrict network access to the UJCMS backend API - specifically the web-file-template endpoint - to trusted administrative IP ranges via firewall rules or reverse-proxy ACLs; this eliminates remote exploitation entirely while preserving admin functionality for authorized personnel. A secondary control is auditing and minimizing accounts that hold backend administrator privileges (the PR:H prerequisite), which directly shrinks the viable attacker pool. If FreeMarker's TemplateClassResolver can be configured to SAFER_RESOLVER or THROWS_EXCEPTION mode within the UJCMS application configuration, enabling that restriction would neutralize the SSTI even if the input sanitization flaw persists, though this may break legitimate template features. Monitor VulDB at https://vuldb.com/cve/CVE-2026-78140 and the published PoC at https://github.com/d0ctorsec/CVE-Reports/blob/main/CVE-UJCMS-v10.1.3-FreeMarker-SSTI/CVE-UJCMS-v10.1.3-FreeMarker-SSTI.md for patch announcements and exploitation updates.
Affected VersionsENISA
Affected Packages
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
UJCMS is an open-source Java content management system developed by the Dromara community. The vulnerable component is the update function within WebFileTemplateController.java, which handles template file management via the backend API path web-file-template. The root cause is CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine): user-supplied input passed to this endpoint is rendered by the FreeMarker template engine without adequate sanitization or sandboxing of dangerous directives. FreeMarker is a mature Java templating library; without enforcement of its TemplateClassResolver or BeansWrapper restrictions, SSTI in FreeMarker allows attackers to traverse Java reflection APIs, instantiate arbitrary classes, and invoke system-level methods. The published PoC is titled 'CVE-UJCMS-v10.1.3-FreeMarker-SSTI', confirming FreeMarker as the affected engine. Affected products are identified by CPE cpe:2.3:a:dromara:ujcms:*:*:*:*:*:*:*:*, covering versions 10.1.0 through 10.1.3 per ENISA EUVD-2026-64664.
Know when Ujcms 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
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
Network-reachable backend API requires high admin privileges; FreeMarker SSTI can traverse JVM reflection to achieve OS-level code execution, constituting scope change; availability impact not confirmed from PoC or description.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in Dromara UJCMS up to 10.1.3. The impacted element is the function update of the file src/main/java/com/ujcms/cms/ext/web/backendapi/WebFileTemplateController.java of the component web-file-template Endpoint. Executing a manipulation can lead to improper neutralization of special elements used in a template engine. The attack can be launched remotely. The exploit has been published and may be used.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
A spoofing attack in ujcms v.8.0.2 allows a remote attacker to obtain sensitive information and execute arbitrary code v
Directory traversal vulnerability in ujcms 6.0.2 allows attackers to move files via the rename feature. Rated critical s
File upload vulnerability in ujcms 6.0.2 via /api/backend/core/web-file-upload/upload. Rated critical severity (CVSS 9.8
An issue was discovered in Ujcms v6.0.2 allows attackers to gain sensitive information via the dir parameter to /api/bac
A vulnerability has been found in UJCMS up to 6.0.2 and classified as problematic. Rated medium severity (CVSS 6.5), thi
Jspxcms v10.2.0 allows attackers to execute a Server-Side Request Forgery (SSRF) via /cmscp/ext/collect/fetch_url.do?url
A vulnerability classified as problematic has been found in Dromara UJCMS up to 9.6.3. Rated medium severity (CVSS 6.3),
A vulnerability was found in Jspxcms 10.2.0. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitabl
A cross-site scripting (XSS) vulnerability in UJCMS v4.1.3 allows attackers to execute arbitrary web scripts or HTML via
File Upload vulnerability in Ujcms v.8.0.2 allows a local attacker to execute arbitrary code via a crafted file. Rated m
A URL redirection vulnerability exists in UJCMS 9.6.3 due to improper validation of URLs in the upload and rendering of
A vulnerability was found in Jspxcms 10.2.0. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitabl
EUVD-2026-64664
GHSA-m2hx-w98g-mrrp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB