Sanluan PublicCMS templateResult API TemplateResultDirective.java execute special elements used in a template engine
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-8740
- 2026-10-03 Alias added: GHSA-pqmw-x4mq-chh8
References
More Sanluan vulnerabilities
- TI-2025-18979 An arbitrary file upload vulnerability in the component… CVSS 3.1CRITICAL 9.8
- TI-2023-17417 PublicCMS <=V4.0.202302 is vulnerable to Insecure Permissions. CVSS 3.1CRITICAL 9.8
- TI-2020-13943 SQL Injection vulnerability found in PublicCMS v.4.0 allows a remote attacker to execute… CVSS 3.1CRITICAL 9.8
- TI-2020-13942 SQL Injection vulnerability found in San Luan PublicCMS v.4.0 allows a remote attacker to… CVSS 3.1CRITICAL 9.8
- TI-2025-40474 PublicCMS V5.202506.b is vulnerable to SSRF. CVSS 3.1CRITICAL 9.1
- TI-2025-35555 OS Command injection vulnerability in PublicCMS PublicCMS-V5.202506.a, and… CVSS 3.1HIGH 8.2
Sources
- CVE-2026-8740 · CVE Program
- CVE-2026-8740 · NVD
- FIRST EPSS
- GHSA-pqmw-x4mq-chh8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences