# CVE-2026-52766: YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T20:57:25.000Z
- Modified: 2026-09-09T17:17:22.047Z
- Also known as: GHSA-6x7x-gcmf-7r8x
- Weaknesses: CWE-276, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- YesWiki yeswiki: < 4.6.6
- yeswiki/yeswiki (Packagist): before 4.6.6

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/YesWiki/yeswiki/security/advisories/GHSA-6x7x-gcmf-7r8x> (exploit, web)
- <https://github.com/YesWiki/yeswiki/commit/ed5b548a705c8091ba0282aaaba73ddda976abef> (web)
- <https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6>
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

- CVE List: [CVE-2026-52766](https://www.cve.org/CVERecord?id=CVE-2026-52766), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-6x7x-gcmf-7r8x](https://github.com/advisories/GHSA-6x7x-gcmf-7r8x), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-52766](https://nvd.nist.gov/vuln/detail/CVE-2026-52766), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-52766 · Whole record: https://cve.day/CVE-2026-52766.json · Rebuilt by cve.day 2026-11-25T22:59:36.416Z
