CVE-2026-52766
CVE-2026-52766 · YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.1 · Critical · EPSS 0.6% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
yeswiki
- Versions
- < 4.6.6: Affected
No fix published
yeswiki/yeswiki Packagist
- Versions
- 4.2.3
- v4.1.0
- v4.1.1
- v4.1.2
- v4.1.3
- v4.1.4
- v4.1.5
- v4.2.0
- v4.2.1
- v4.2.2
- v4.2.4
- v4.3
- v4.3.1
- v4.4.0
- v4.4.1
- v4.4.2
- v4.4.3
- v4.4.4
- v4.4.5
- v4.5.0
- v4.5.1
- v4.5.2
- v4.5.3
- v4.5.4
- v4.5.5
- v4.6.0
- v4.6.1
- v4.6.2
- v4.6.3
- v4.6.4
- v4.6.5
- Affected ranges
- ECOSYSTEM: < 4.6.6
Update to 4.6.6