Stored template expression execution via unfiltered update
Published Aug 23, 2026 · Updated Aug 23, 2026
Server-side template injection in Dromara UJCMS 10.1.0 through 10.1.3 allows remote authenticated users to alter rendered pages. AbstractWebFileController.update writes API-supplied params.text directly to a template file, which FreeMarker evaluates when the frontend renders it. High-privilege template-update authority and a valid JWT are required; expressions execute on the server, and injected JavaScript runs only in a visitor's browser, while FreeMarker restrictions block the demonstrated path to server-side code execution.
Summary
What happened
Server-side template injection in Dromara UJCMS 10.1.0 through 10.1.3 allows remote authenticated users to alter rendered pages. AbstractWebFileController.update writes API-supplied params.text directly to a template file, which FreeMarker evaluates when the frontend renders it. High-privilege template-update authority and a valid JWT are required; expressions execute on the server, and injected JavaScript runs only in a visitor's browser, while FreeMarker restrictions block the demonstrated path to server-side code execution.
The record
- CVE
- CVE-2026-78140
- Published
- Aug 23, 2026
- Updated
- Aug 23, 2026
- Vendor
- Dromara
- Product
- UJCMS
- Classifications
- CWE-791, CWE-1336, T1059.007
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Aug 23, 2026CVE publishedPublication date reported by the CVE source.
- Aug 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.1.0
- Affected versionversion=10.1.1
- Affected versionversion=10.1.2
- Affected versionversion=10.1.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- UJCMS 10.1.3 FreeMarker SSTI proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo