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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-52766— YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action

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 版本之前, wiki 操作(位于 )会从 POST 请求中接收一个 数组,并删除所有标签出现在该数组中的 wiki 页面。然而,在该操作主体或其调用的页面删除路径中,均未进行任何权限检查。结合 YesWiki 默认允许(allow-by-default)的操作访问控制列表(ACL)模型,在默认安装中,所有用户默认拥有页面写权限( )。因此,任何拥有页面写权限的用户都可以永久删除任意 wiki 页面,包括首页、管理页面以及由其他用户拥有的页面。

CVSS 9.1 · Critical EPSS 0.05% · P17
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-52766

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: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
Source: CVE Program / CVE List V5
Vulnerability Description
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, the {{erasespamedcomments}} wiki action (actions/EraseSpamedCommentsAction.php) accepts a suppr[] array from POST and deletes every wiki page whose tag appears in that array, with no authorization check anywhere in the action body or in the page-deletion path it invokes. Combined with YesWiki's allow-by-default action ACL model, any user who has page write access, which is the default for everyone (default_write_acl='*') on a fresh install can permanently delete arbitrary wiki pages, including the front page, admin pages, and pages owned by other users. 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:N/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
缺省权限不正确
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-52766

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

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-52766 (1)

Other References for CVE-2026-52766 (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-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-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

V. Comments for CVE-2026-52766

No comments yet


Leave a comment