yeswiki/yeswiki is vulnerable to Cross-Site Request Forgery (CSRF)
81
CVE Score
High
Cross-Site Request Forgery (CSRF)
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.
Upgrade the yeswiki/yeswiki package to version 4.7.0 or later.
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.
4.1.0 - 4.6.9
Fixed in 4.7.0yeswiki/yeswiki is vulnerable to Cross-Site Request Forgery (CSRF) in versions 4.1.0 - 4.6.9.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.