CVE-2025-12535 SureForms <= 1.13.1 - Cross-Site Request Forgery Protection Bypass via Improper Nonce Distribution
Unauthenticated attackers can bypass CSRF protection in SureForms by exploiting generic nonce distribution, triggering unauthorized actions on REST API endpoints.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12535?
CVE-2025-12535 is a medium-severity vulnerability in brainstormforce SureForms – Contact Form, Payment Form & Other Custom Form Builder, published on 19 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The SureForms plugin for WordPress is vulnerable to Cross-Site Request Forgery Bypass in all versions up to, and including, 1.13.1. This is due to the plugin distributing generic WordPress REST API nonces (wp_rest) to unauthenticated users via the 'wp_ajax_nopriv_rest-nonce' action. While the plugin legitimately needs to support unauthenticated form submissions, it incorrectly uses generic REST nonces instead of form-specific nonces. This makes it possible for unauthenticated attackers to bypass CSRF protection on REST API endpoints that rely solely on nonce verification without additional authentication checks, allowing them to trigger unauthorized actions such as the plugin's own post-submission hooks and potentially other plugins' REST endpoints.
Weakness: CWE-352
Which versions are affected by CVE-2025-12535?
How do I fix CVE-2025-12535?
No fix has been published for CVE-2025-12535 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-12535 being exploited?
There is no known exploitation of CVE-2025-12535 in the wild and no public exploit code.
Sources
Also known as GHSA-2wj7-vvm5-4h6v.