---
id: CVE-2026-52766
title: YesWiki is a wiki system written in PHP
summary: >-
  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 arra…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-276
  - CWE-862
vendor: YesWiki
product: yeswiki
affected:
  - yeswiki < 4.6.6
patched:
  - yeswiki/yeswiki 4.6.6
published: '2026-09-05'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T17:17:22.047'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52766'
references:
  - url: >-
      https://github.com/YesWiki/yeswiki/commit/ed5b548a705c8091ba0282aaaba73ddda976abef
    label: security-advisories@github.com
  - url: 'https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6'
    label: security-advisories@github.com
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-6x7x-gcmf-7r8x'
    label: security-advisories@github.com
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-6x7x-gcmf-7r8x'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-6x7x-gcmf-7r8x'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - composer
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-09T16:01:45.498684Z'
epss: 0.00579
epssPercentile: 0.45298
aliases:
  - GHSA-6x7x-gcmf-7r8x
ecosystem: composer
ingestedAt: '2026-07-09T21:52:34.698Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-52766)

Affected packages:

- `yeswiki/yeswiki < 4.6.6`

Patched in:

- `yeswiki/yeswiki 4.6.6`

Source: https://github.com/advisories/GHSA-6x7x-gcmf-7r8x
