CVE-2026-52766yeswiki
Unauthorized wiki page deletion in YesWiki
Critical 9.1 No auth needed
Follow: this CVE · YesWiki · yeswiki We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 5, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
YesWiki prior to version 4.6.6 allows any user with write access to permanently delete arbitrary wiki pages without authorization checks. The {{erasespamedcomments}} action fails to validate permissions, enabling deletion of admin pages, front pages, and other users' pages in default installations.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 4.6.6
Update YesWiki to version 4.6.6 or later to apply authorization checks in the spam comment deletion action.
- Apply the vendor's security update for yeswiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | yeswiki/yeswiki |
< 4.6.6 |
4.6.6 |
composer require "yeswiki/yeswiki:^4.6.6" |
Per OSV / GitHub Advisories (GHSA-6x7x-gcmf-7r8x). Check the version in your lockfile before upgrading.
Affected products
- YesWiki · yeswiki
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.