# CVE-2026-78140: Dromara UJCMS web-file-template Endpoint WebFileTemplateController.java update special elements in template engine

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-23T19:45:07.529Z
- Modified: 2026-10-12T16:10:00.220Z
- Weaknesses: CWE-791, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Dromara UJCMS: 10.1.0; 10.1.1; 10.1.2; 10.1.3

## Every score

- VulDB: CVSS:4.0 5.1 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`
- VulDB: CVSS:3.1 4.7 Medium `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`
- VulDB: CVSS:3.0 4.7 Medium `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`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/d0ctorsec/CVE-Reports/blob/main/CVE-UJCMS-v10.1.3-FreeMarker-SSTI/CVE-UJCMS-v10.1.3-FreeMarker-SSTI.md> (exploit)
- <https://vuldb.com/vuln/394523> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/394523/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-78140> (third-party-advisory)
- <https://vuldb.com/submit/882065> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-78140](https://www.cve.org/CVERecord?id=CVE-2026-78140), CVE Terms of Use, modified 2026-08-24
- NVD: [CVE-2026-78140](https://nvd.nist.gov/vuln/detail/CVE-2026-78140), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-78140 · Whole record: https://cve.day/CVE-2026-78140.json · Rebuilt by cve.day 2026-11-25T22:59:34.972Z
