CVE-2026-8740: Sanluan PublicCMS - Template Injection
- Cve: CVE-2026-8740
- Name: Sanluan PublicCMS - Template Injection
- Description: A flaw has been found in Sanluan PublicCMS 5.202506.d. The impacted element is the function execute of the file publiccms-core/src/main/java/com/publiccms/views/directive/tools/TemplateResultDirective.java of the component templateResult API. This manipulation of the argument templateContent causes improper neutralization of special elements used in a template engine. The attack is possible to be carried out remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
- Impact: Remote attackers can execute arbitrary template code, potentially leading to remote code execution or data compromise.
- Remediation: Update to the latest version.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00232
- Epss percentile: 0.14172
- Assignee: [email protected]
- Published at: 2026-05-17T09:16:34Z
- Age in days: 191
- Modified at: 2026-10-26T13:10:00Z
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-8740
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-791 | Incomplete Filtering of Special Elements |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://vuldb.com/submit/809932 |
| https://vuldb.com/vuln/364328 |
| https://vuldb.com/vuln/364328/cti |
| https://vulnplus-note.wetolink.com/share/ILcCnOvJ1fMc |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| publiccms:publiccms | = 5.202506.d | no | cna_cpes | /v1/products/publiccms/publiccms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts