# CVE-2026-8740: Sanluan PublicCMS templateResult API TemplateResultDirective.java execute special elements used in a template engine

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-17T08:00:12.437Z
- Modified: 2026-10-26T13:10:00.140Z
- Weaknesses: CWE-791, CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- Sanluan PublicCMS: 5.202506.d

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://vulnplus-note.wetolink.com/share/ILcCnOvJ1fMc> (exploit)
- <https://vuldb.com/vuln/364328> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/364328/cti> (permissions-required, signature)
- <https://vuldb.com/submit/809932> (third-party-advisory)

## Sources

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

---

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