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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-52762— YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via Bazar Semantic Templates

Quick assessment

Affected
YesWiki yeswiki
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

YesWiki 是一个用 PHP 编写的 Wiki 系统。在 4.6.6 版本之前,YesWiki 的 Bazar 组件在语义模板(Semantic template)功能中存在一个存储型服务器端模板注入(Stored SSTI)漏洞,该漏洞可被升级为已确认的远程代码执行(RCE)。经过验证的管理员可以在语义模板(Twig)字段(bn_sem_template)中插入任意的 Twig 表达式,这些内容会在请求公开语义端点时于服务器端执行。该问题已在 4.6.6 版本中修复。

CVSS 7.1 · High EPSS 0.11% · P29
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-52762

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
YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via Bazar Semantic Templates
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1336
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
YesWiki yeswiki < 4.6.6 -

II. Public POCs for CVE-2026-52762

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-52762

登录查看更多情报信息。

Patches & Fixes for CVE-2026-52762 (1)

Vendor Advisories for CVE-2026-52762 (1)

Other References for CVE-2026-52762 (1)

Same Patch Batch · YesWiki · 2026-09-04 · 12 CVEs total

CVE-2026-52777 9.4 CRITICAL YesWiki: Authenticated PHP Object Injection in BazarImportAction via unserialize
CVE-2026-52766 9.1 CRITICAL YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
CVE-2026-52775 8.8 HIGH YesWiki Authenticated SQL Injection in ReactionManager
CVE-2026-52769 8.3 HIGH YesWiki: Unauthenticated Server-Side Request Forgery via ActivityPub `Signature.keyId`
CVE-2026-52771 8.3 HIGH YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiControl
CVE-2026-52767 8.2 HIGH YesWiki: Unauthenticated ActivityPub Signature-Verification Bypass via `!openssl_verify(..
CVE-2026-52770 7.5 HIGH Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in ye
CVE-2026-52763 6.5 MEDIUM YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitra
CVE-2026-52773 6.1 MEDIUM Reflected XSS via Unescaped Archived-Revision `time` Parameter in `handlers/page/show.php`
CVE-2026-52774 6.1 MEDIUM Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes in YesWiki
CVE-2026-52772 5.5 MEDIUM YesWiki: Bazar form-field templates still apply `|raw('html')` to `field.label` / `field.h

IV. Related Vulnerabilities

V. Comments for CVE-2026-52762

No comments yet


Leave a comment