Intel

AIKIDO-2026-43985

yeswiki/yeswiki is vulnerable to Cross-Site Request Forgery (CSRF)

CVE-2026-116204Published Oct 31, 2026
October 31, 2026

81

CVE Score

High

Cross-Site Request Forgery (CSRF)

Are you affected? Scan for Free

TL;DR

The {{despam}} admin action in tools/security/actions/despam.php deletes pages named in suppr[] and restores revisions named in rev[] from untrusted POST input. A forged cross-site POST accepted under the administrator's session cookie passes the UserIsAdmin() check and permanently deletes arbitrary pages or overwrites them with past revisions. No CSRF token, Origin, or Referer check runs before the clean branch. The fix adds a csrf-token hidden field and calls CsrfTokenController::checkToken() before any deletion or restore.

How do I fix this?

Upgrade the yeswiki/yeswiki package to version 4.7.0 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and run YesWiki with the {{despam}} spam-cleaning action reachable by administrators.

Versions

4.1.0 - 4.6.9

Fixed in 4.7.0

Background info

yeswiki/yeswiki is vulnerable to Cross-Site Request Forgery (CSRF) in versions 4.1.0 - 4.6.9.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea