CVE-2025-6059: Seraphinite Accelerator <= 2.27.21 - Cross-Site Request Forgery to Multiple Administrative Actions
The Seraphinite Accelerator plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.27.21. This is due to missing or incorrect nonce validation on the 'OnAdminApiCacheOpBegin' function. This makes it possible for unauthenticated attackers to perform several administrative actions, including deleting the cache, via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WordPress Seraphinite Acceleratorto a version that resolves this vulnerability.Fixed in 2.27.21 - Compensating control
Mitigate CSRF by preventing administrators from being tricked into performing cache administrative actions (e.g., when an admin clicks a forged link) while you remediate the nonce validation issue in Seraphinite Accelerator, especially for actions on 'OnAdminApi_CacheOpBegin'.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-6059?
CVE-2025-6059 has been classified as a medium severity vulnerability due to its Cross-Site Request Forgery risk.
How do I fix CVE-2025-6059?
To fix CVE-2025-6059, update the Seraphinite Accelerator plugin to version 2.27.22 or later.
Who is affected by CVE-2025-6059?
CVE-2025-6059 affects all versions of the Seraphinite Accelerator plugin for WordPress up to and including 2.27.21.
What type of vulnerability is CVE-2025-6059?
CVE-2025-6059 is a Cross-Site Request Forgery (CSRF) vulnerability caused by missing or incorrect nonce validation.
Can unauthenticated users exploit CVE-2025-6059?
Yes, unauthenticated users can exploit CVE-2025-6059 to perform unauthorized actions on affected WordPress sites.