CVE-2026-52766 PUBLISHED

YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action

Assigner: GitHub_M
Reserved: 08.06.2026 Published: 04.09.2026 Updated: 04.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS Score: 9.1

Product Status

Vendor YesWiki
Product yeswiki
Versions
  • Version < 4.6.6 is affected

References

Problem Types

  • CWE-276: Incorrect Default Permissions CWE
  • CWE-862: Missing Authorization CWE