Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 6.3 · Medium EPSS 0.23% · P14

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProductVersion RangeStatus
SanluanPublicCMS5.202506.daffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-8740

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Sanluan PublicCMS templateResult API TemplateResultDirective.java execute special elements used in a template engine
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-1336
Source: NVD (National Vulnerability Database)
Vulnerability Title
PublicCMS 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PublicCMS是中国PublicCMS公司的一套使用Java语言编写的开源内容管理系统(CMS)。 Sanluan PublicCMS 5.202506.d版本存在安全漏洞,该漏洞源于templateResult API组件中TemplateResultDirective.java文件的execute函数对参数templateContent处理不当,导致模板引擎中特殊元素中和不当。攻击者可能远程利用此漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
SanluanPublicCMS 5.202506.d cpe:2.3:a:publiccms:publiccms:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-8740

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-8740

登录查看更多情报信息。

Other References for CVE-2026-8740 (1)

Same Patch Batch · Sanluan · 2026-05-17 · 4 CVEs total

CVE-2026-87386.5 MEDIUMSanluan PublicCMS Trade Payment Flow TradeOrderController.java AccountGatewayComponent.pay
CVE-2026-87375.3 MEDIUMSanluan PublicCMS Trade Address Query TradeAddressListDirective.java execute missing authe
CVE-2026-87395.3 MEDIUMSanluan PublicCMS SafeConfigComponent.java getSignKey hard-coded key

IV. Related Vulnerabilities

V. Comments for CVE-2026-8740

No comments yet


Leave a comment