{"id":"CVE-2026-52762","published":"2026-09-04T23:39:36Z","modified":"2026-09-08T18:01:16Z","title":"YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via Bazar Semantic Templates","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"YesWiki is a wiki system written in PHP. Prior to version 4.6.6, 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 issue has been patched in version 4.6.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00779,"percentile":0.52357,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-65p8-9433-jpcp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/89462f1577a8a1fe7fcff75e77b5058a74d8047b","tags":["x_refsource_MISC"]},{"url":"https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.47},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-08T18:00:18.240792Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.6.6"],"patched":["4.6.6"],"from":["GHSA-65p8-9433-jpcp"],"provenance":"source"}],"summary":{"text":"YesWiki's Bazar semantic template feature, prior to version 4.6.6, fails to neutralise Twig expressions placed in the Semantic template (Twig) field, which is a server-side template injection flaw that can be escalated to remote code execution. An attacker who is an authenticated administrator over the network can store arbitrary Twig expressions in that field, and they are then executed on the server when public semantic endpoints are requested, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:11Z"},"euvd":{"id":"EUVD-2026-71797","exploited":false,"provenance":"source"}}