CVE-2025-12535: CWE-352 Cross-Site Request Forgery (CSRF) in brainstormforce SureForms – Contact Form, Custom Form Builder, Calculator & More
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.
AI Analysis
Technical Summary
The SureForms plugin for WordPress, which provides contact forms, custom form building, and calculators, suffers from a CSRF vulnerability identified as CVE-2025-12535. The root cause lies in the plugin's distribution of generic WordPress REST API nonces (wp_rest) to unauthenticated users through the 'wp_ajax_nopriv_rest-nonce' action. While the plugin requires support for unauthenticated form submissions, it erroneously uses generic REST nonces instead of form-specific nonces. Nonces in WordPress are intended to prevent CSRF by ensuring requests originate from legitimate users; however, generic nonces distributed to unauthenticated users can be exploited to bypass this protection. Attackers can craft malicious requests that trigger REST API endpoints relying solely on nonce verification without additional authentication, enabling unauthorized actions such as invoking SureForms' post-submission hooks. This flaw could also be leveraged to affect other plugins exposing REST endpoints that rely on similar nonce-based protections. The vulnerability affects all versions up to and including 1.13.1 of SureForms. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) indicates network attack vector, low attack complexity, no privileges or user interaction required, unchanged scope, no confidentiality or availability impact, but integrity impact is present. No patches or known exploits are currently documented, but the vulnerability is publicly disclosed and should be addressed promptly.
Potential Impact
This vulnerability allows unauthenticated attackers to perform unauthorized actions via the WordPress REST API by bypassing CSRF protections. The primary impact is on data integrity, as attackers can trigger post-submission hooks that may modify data or state within the SureForms plugin or other plugins relying on similar nonce mechanisms. Although confidentiality and availability are not directly affected, unauthorized data manipulation can lead to misinformation, spam submissions, or unintended side effects within the website's functionality. Organizations running WordPress sites with SureForms installed are at risk of automated or targeted attacks exploiting this flaw to compromise form handling processes, potentially undermining user trust and site reliability. The vulnerability's ease of exploitation (no authentication or user interaction required) increases risk, especially for high-traffic or publicly accessible sites. While no known exploits are reported, the public disclosure and moderate CVSS score suggest attackers may develop exploits, increasing the threat over time.
Mitigation Recommendations
Administrators should immediately update the SureForms plugin to a version that addresses this vulnerability once available. Until a patch is released, practical mitigations include disabling the 'wp_ajax_nopriv_rest-nonce' action to prevent unauthenticated nonce distribution or implementing additional server-side validation that enforces form-specific nonces rather than generic REST nonces. Employing Web Application Firewalls (WAFs) with rules to detect and block suspicious REST API requests can reduce exploitation risk. Site owners should audit other plugins for similar nonce misuse and ensure REST API endpoints enforce proper authentication and authorization beyond nonce checks. Monitoring logs for unusual REST API activity and restricting REST API access to authenticated users where feasible can further mitigate risk. Educating developers about nonce best practices and avoiding generic nonce exposure to unauthenticated users is critical for long-term security.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-12535: CWE-352 Cross-Site Request Forgery (CSRF) in brainstormforce SureForms – Contact Form, Custom Form Builder, Calculator & More
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The SureForms plugin for WordPress, which provides contact forms, custom form building, and calculators, suffers from a CSRF vulnerability identified as CVE-2025-12535. The root cause lies in the plugin's distribution of generic WordPress REST API nonces (wp_rest) to unauthenticated users through the 'wp_ajax_nopriv_rest-nonce' action. While the plugin requires support for unauthenticated form submissions, it erroneously uses generic REST nonces instead of form-specific nonces. Nonces in WordPress are intended to prevent CSRF by ensuring requests originate from legitimate users; however, generic nonces distributed to unauthenticated users can be exploited to bypass this protection. Attackers can craft malicious requests that trigger REST API endpoints relying solely on nonce verification without additional authentication, enabling unauthorized actions such as invoking SureForms' post-submission hooks. This flaw could also be leveraged to affect other plugins exposing REST endpoints that rely on similar nonce-based protections. The vulnerability affects all versions up to and including 1.13.1 of SureForms. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) indicates network attack vector, low attack complexity, no privileges or user interaction required, unchanged scope, no confidentiality or availability impact, but integrity impact is present. No patches or known exploits are currently documented, but the vulnerability is publicly disclosed and should be addressed promptly.
Potential Impact
This vulnerability allows unauthenticated attackers to perform unauthorized actions via the WordPress REST API by bypassing CSRF protections. The primary impact is on data integrity, as attackers can trigger post-submission hooks that may modify data or state within the SureForms plugin or other plugins relying on similar nonce mechanisms. Although confidentiality and availability are not directly affected, unauthorized data manipulation can lead to misinformation, spam submissions, or unintended side effects within the website's functionality. Organizations running WordPress sites with SureForms installed are at risk of automated or targeted attacks exploiting this flaw to compromise form handling processes, potentially undermining user trust and site reliability. The vulnerability's ease of exploitation (no authentication or user interaction required) increases risk, especially for high-traffic or publicly accessible sites. While no known exploits are reported, the public disclosure and moderate CVSS score suggest attackers may develop exploits, increasing the threat over time.
Mitigation Recommendations
Administrators should immediately update the SureForms plugin to a version that addresses this vulnerability once available. Until a patch is released, practical mitigations include disabling the 'wp_ajax_nopriv_rest-nonce' action to prevent unauthenticated nonce distribution or implementing additional server-side validation that enforces form-specific nonces rather than generic REST nonces. Employing Web Application Firewalls (WAFs) with rules to detect and block suspicious REST API requests can reduce exploitation risk. Site owners should audit other plugins for similar nonce misuse and ensure REST API endpoints enforce proper authentication and authorization beyond nonce checks. Monitoring logs for unusual REST API activity and restricting REST API access to authenticated users where feasible can further mitigate risk. Educating developers about nonce best practices and avoiding generic nonce exposure to unauthenticated users is critical for long-term security.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-30T19:51:09.849Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 691d6a73a27e6d5e91bd8394
Added to database: 11/19/2025, 6:57:55 AM
Last enriched: 2/27/2026, 8:42:23 PM
Last updated: 3/22/2026, 3:22:12 AM
Views: 102
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.