CVE-2026-52766: YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
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.
Security readout for executives and security teams
Plain-English summary
YesWiki versions before 4.6.6 can allow an unauthenticated visitor to delete arbitrary wiki pages when public page writing is enabled, as it is by default on fresh installations. Important content—including front, administration, and other users’ pages—could be permanently removed. The issue affects integrity and availability, not confidentiality.
Executive priority
Treat exposed, vulnerable YesWiki installations as an immediate remediation priority because an unauthenticated attacker may destroy business content without user interaction. Upgrade promptly and confirm backups. Privately restricted instances remain important but can follow exposed systems in the remediation queue after their access controls are verified.
Technical view
The `erasespamedcomments` action accepts page identifiers through a POST array and passes them into the deletion path without an authorization check. YesWiki’s allow-by-default action ACL and default public write ACL can make the flaw remotely exploitable without authentication. CVSS 3.1 rates it 9.1: network-accessible, low complexity, no privileges or interaction, with high integrity and availability impact.
Likely exposure
Highest exposure exists on internet-accessible YesWiki installations earlier than 4.6.6 that permit untrusted users to write pages, including fresh installations retaining `default_write_acl='*'`. Restricting write access may reduce practical exposure, but the supplied sources do not establish that configuration controls fully remediate the vulnerable deletion path.
Exploitation context
The flaw requires no authentication or user interaction under the documented default configuration and can cause broad content destruction. The supplied bundle marks it absent from KEV and provides no evidence of active exploitation. Public disclosure includes the advisory and correcting commit, which may increase attacker awareness.
Researcher notes
The reported weaknesses are CWE-276 and CWE-862. The impact is arbitrary page deletion through a missing authorization check, with no reported confidentiality loss. Assessment should focus on installed version, reachability, write ACLs, and integrity evidence. The supplied material identifies 4.6.6 and commit `ed5b548a705c8091ba0282aaaba73ddda976abef` as the correction.
Mitigation direction
Upgrade YesWiki to version 4.6.6 or later.
Restrict page write access to trusted users until upgrading.
Limit external access to affected YesWiki instances where operationally feasible.
Verify recoverable backups exist for important wiki content.
Validation and detection
Inventory YesWiki instances and identify versions earlier than 4.6.6.
Check whether untrusted or unauthenticated users have page write access.
Confirm production instances run version 4.6.6 or later.
Review page history and backups for unexpected deletions after disclosure.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-276: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
CWE-862: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-276 · source CWE mapping
Incorrect Default Permissions
Incorrect Default Permissions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Missing Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.