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.
Published: 2026-09-04
Score: 9.1 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The {{erasespamedcomments}} action in YesWiki accepts a POST array of page tags and deletes each referenced page without performing any authorization checks. This lack of access control means any authenticated user with write permissions, which for a fresh install defaults to all users, can arbitrarily delete any wiki page—including the front page, administrative pages, and pages owned by other users—resulting in irreversible data loss and denial of service for the target wiki.

Affected Systems

YesWiki platforms running any version prior to 4.6.6 are vulnerable. The vulnerability was fixed in the 4.6.6 release, so installations using 4.6.5 or earlier, or any unreleased code that includes the unpatched EraseSpamedCommentsAction.php, are affected.

Risk and Exploitability

The CVSS v3 score of 9.1 classifies this flaw as critical, and it is listed as not present in CISA’s KEV catalog. Although its EPSS score is unavailable, the vulnerability can be abused with a simple POST request once a user has write access; in the default ACL configuration any user can trigger it. An attacker can therefore delete arbitrary content, disrupt wiki operations, and potentially erase administrative configuration, leading to a severe compromise of the wiki’s availability and integrity.

Generated by OpenCVE AI on September 5, 2026 at 00:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.6.6 or newer to apply the vendor patch that restores proper authorization checks.
  • Change the default write ACL from '*', which allows all users to write, to a restricted set or to 'none' so that only trusted users can modify content.
  • Remove or disable the erasespamedcomments action if it is not required, or configure a custom ACL for it to prevent unauthorized page deletion.

Generated by OpenCVE AI on September 5, 2026 at 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6x7x-gcmf-7r8x YesWiki vulnerable to unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
History

Fri, 04 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
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.
Title YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
Weaknesses CWE-276
CWE-862
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T23:40:12.087Z

Reserved: 2026-06-08T17:13:43.064Z

Link: CVE-2026-52766

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T00:17:19.393

Modified: 2026-09-05T00:17:19.393

Link: CVE-2026-52766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T00:30:18Z

Weaknesses