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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-52771— YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiController::deletePage`)

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是法国YesWiki组织开源的一个面向团队的协作式内容管理平台。 YesWiki 4.2.0版本至4.6.6之前版本存在SQL注入漏洞,该漏洞源于ApiController::deletePage()函数在构造DELETE FROM …_links WHERE to_tag = '$tag'查询时未对页面标签进行转义,攻击者可利用POST /api/pages/{tag} API创建包含SQL片段的标签,并调用删除接口在wiki数据库中执行任意SQL,可能导致时间型盲注数据泄露。

CVSS 8.3 · High EPSS 0.51% · P43

Affected Version Matrix 1

VendorProduct Version RangeStatus
YesWiki yeswiki >= 4.2.0, < 4.6.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-52771

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: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiController::deletePage`)
Source: CVE Program / CVE List V5
Vulnerability Description
YesWiki is a wiki system written in PHP. From version 4.2.0 to before version 4.6.6, ApiController::deletePage() interpolates a page tag retrieved from the database into a DELETE FROM …_links WHERE to_tag = '$tag' query without escaping. The page tag is attacker-controlled — the POST /api/pages/{tag} API accepts arbitrary URL-encoded values, including single quotes, and stores them. A low-privilege authenticated user can therefore create a page whose tag is a SQL fragment, make the page non-orphaned via the standard {{include page="…"}} link mechanism, and then invoke the delete endpoint to execute arbitrary SQL inside the wiki database - including time-based blind data exfiltration from any table. This issue has been patched in version 4.6.6.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
YesWiki SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
YesWiki是法国YesWiki组织开源的一个面向团队的协作式内容管理平台。 YesWiki 4.2.0版本至4.6.6之前版本存在SQL注入漏洞,该漏洞源于ApiController::deletePage()函数在构造DELETE FROM …_links WHERE to_tag = '$tag'查询时未对页面标签进行转义,攻击者可利用POST /api/pages/{tag} API创建包含SQL片段的标签,并调用删除接口在wiki数据库中执行任意SQL,可能导致时间型盲注数据泄露。
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

Vendor Product Affected Versions CPE Subscribe
YesWiki yeswiki >= 4.2.0, < 4.6.6 -

II. Public POCs for CVE-2026-52771

# 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-52771

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-52771 (1)

Other References for CVE-2026-52771 (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-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-52762 7.1 HIGH YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via
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