Description
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.
Published: 2026-08-23
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the update function of the WebFileTemplateController within Dromara UJCMS allows improper neutralization of special template elements, exposing the system to server‑side template injection. This weakness can enable an attacker to inject arbitrary template code that is then processed by the underlying templating engine, potentially leading to remote code execution. The vulnerability is categorized under CWE‑1336 and CWE‑791, indicating failures in template handling and input sanitization.

Affected Systems

All installations of Dromara UJCMS up to version 10.1.3 are affected. The flaw resides in the component web‑file‑template Endpoint and specifically targets the update operation. Any instance that has not yet been upgraded beyond 10.1.3 is susceptible, regardless of other security controls in place.

Risk and Exploitability

The CVSS score of 5.1 places this issue in the medium severity range, while the absence of an EPSS score means the exploitation probability is not quantified, yet the presence of a published exploit indicates a real threat. The vulnerability is remotely exploitable, allowing attackers to target the update endpoint from outside the network. Because the flaw enables direct template injection, an attacker could achieve full code execution if the templating engine runs with application privileges. The lack of a KEV listing does not diminish the immediate need for remediation, as the vulnerability has already been exploited and remains publicly known.

Generated by OpenCVE AI on August 23, 2026 at 21:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a version of UJCMS that fixes the SSTI flaw (e.g., 10.1.4 or later).
  • If an upgrade is not immediately possible, block or disable the WebFileTemplateController update endpoint to eliminate remote access to the vulnerable function.
  • Implement strict input validation and template‑escaping measures on all data that can influence template rendering to prevent injection of malicious constructs.

Generated by OpenCVE AI on August 23, 2026 at 21:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 23 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Dromara
Dromara ujcms
Vendors & Products Dromara
Dromara ujcms

Sun, 23 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Dromara UJCMS web-file-template Endpoint WebFileTemplateController.java update special elements in template engine
First Time appeared Ujcms
Ujcms ujcms
Weaknesses CWE-1336
CWE-791
CPEs cpe:2.3:a:ujcms:ujcms:*:*:*:*:*:*:*:*
Vendors & Products Ujcms
Ujcms ujcms
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

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

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-23T19:45:07.529Z

Reserved: 2026-08-23T05:44:39.453Z

Link: CVE-2026-78140

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-23T20:16:50.380

Modified: 2026-08-23T20:16:50.380

Link: CVE-2026-78140

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-23T21:30:07Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-791

    Incomplete Filtering of Special Elements