Severity by source
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Server-Side Template Injection in PublicCMS 5.202506.d allows authenticated remote attackers to execute arbitrary code and access sensitive information via the templateResult API endpoint. The vulnerability exists in the TemplateResultDirective.java component, where the templateContent parameter lacks proper sanitization, enabling template engine injection attacks. Publicly available exploit code exists (VulnPlus disclosure), and the vendor has not responded to coordinated disclosure attempts, leaving users without an official patch.
Technical ContextAI
PublicCMS is a Java-based content management system. The vulnerability affects the templateResult directive API in publiccms-core/src/main/java/com/publiccms/views/directive/tools/TemplateResultDirective.java. The flaw is classified as CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), commonly known as Server-Side Template Injection (SSTI). Template engines in Java applications (such as FreeMarker, Velocity, or Thymeleaf, commonly used in CMS platforms) interpret special syntax to dynamically generate content. When user-controlled input flows into template processing without proper sanitization, attackers can inject template directives that execute during server-side rendering. The affected CPE is cpe:2.3:a:sanluan:publiccms:*:*:*:*:*:*:*:*, indicating the Sanluan-developed PublicCMS product. The vulnerability requires low attack complexity and authenticated access (PR:L), suggesting exploitation through standard API interactions once credentials are obtained.
RemediationAI
No vendor-released patch exists as Sanluan has not responded to vulnerability disclosure. Until an official fix is available, implement the following compensating controls with trade-offs noted. PRIMARY MITIGATION: Disable or restrict access to the templateResult API endpoint at the web application firewall or reverse proxy level, blocking all requests to paths matching the TemplateResultDirective route. Trade-off: This breaks legitimate functionality that depends on dynamic template rendering via this API, potentially affecting content preview or customization features. AUTHENTICATION HARDENING: Enforce multi-factor authentication for all PublicCMS accounts and conduct immediate credential rotation, especially for accounts with content management privileges that could access the templateResult API. Implement principle of least privilege by removing templateResult API access from non-essential user roles. Trade-off: Increased administrative overhead and potential user friction. INPUT VALIDATION: If the templateResult API must remain accessible, implement strict allowlist-based input validation on the templateContent parameter at the application layer or via WAF rules, rejecting any input containing template engine syntax characters specific to the underlying engine (e.g., ${}, #{}, <#>, <@> depending on whether FreeMarker, Velocity, or Thymeleaf is used). Trade-off: Risk of bypass via encoding or incomplete blocklist, plus potential false positives blocking legitimate content. MONITORING: Deploy runtime application self-protection (RASP) or enable verbose logging for all templateResult API invocations, alerting on unusual template patterns or attempts to access system resources. UPGRADE PATH: Monitor Sanluan's GitHub repository or official channels for future security releases, though vendor responsiveness is questionable. Consider migration to actively maintained CMS alternatives if vendor support remains absent. Reference the public exploit at https://vulnplus-note.wetolink.com/share/ILcCnOvJ1fMc to understand attack signatures for detection rules.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30689
GHSA-pqmw-x4mq-chh8