CVE-2026-52762
Published:July 09, 2026
Updated:August 27, 2026
YesWiki Bazar contains a stored Server-Side Template Injection ("SSTI") vulnerability in the semantic template feature that can be escalated to confirmed Remote Code Execution ("RCE"). An authenticated administrator can place arbitrary Twig expressions into the "Semantic template (Twig)" field ("bn_sem_template"), and that content is later executed server-side when public semantic endpoints are requested. This was first confirmed through a harmless proof payload where "{{ 7 * 7 }}" was rendered as "49" through the public JSON-LD endpoint. The finding was then further validated locally by storing a Twig payload that invoked a system-level callable, resulting in command execution and an interactive shell on the test machine. Because the payload is stored in the form configuration and later triggered through a public endpoint, this issue is both persistent and remotely triggerable after an administrator plants the malicious template.
Affected Packages
https://github.com/YesWiki/yeswiki.git (GITHUB):
Affected version(s) >=v4.1.0 <v4.6.6Fix Suggestion:
Update to version v4.6.6yeswiki/yeswiki (PHP):
Affected version(s) >=dev-aceditor-fix <v4.6.6Fix Suggestion:
Update to version v4.6.6Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements Used in a Template Engine