CVE-2025-2111: CWE-352 Cross-Site Request Forgery (CSRF) in hiddenpearls Insert Headers And Footers
The Insert Headers And Footers plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.1.1. This is due to missing or incorrect nonce validation on the 'custom_plugin_set_option' function. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site. The 'WPBRIGADE_SDK__DEV_MODE' constant must be set to 'true' to exploit the vulnerability.
AI Analysis
Technical Summary
The Insert Headers And Footers plugin for WordPress contains a CSRF vulnerability due to improper nonce validation in the 'custom_plugin_set_option' function. This flaw allows unauthenticated attackers to craft forged requests that, if executed by an administrator, can modify critical site options such as the default user role and registration settings. Exploitation requires the 'WPBRIGADE_SDK__DEV_MODE' constant to be enabled (set to true). This vulnerability affects all versions up to and including 3.1.1 and can lead to privilege escalation by enabling attacker-controlled administrative accounts. The CVSS 3.1 base score is 7.5, indicating high severity. No known exploits in the wild or patch information are currently available.
Potential Impact
Successful exploitation can result in unauthorized modification of WordPress site options, including changing the default user role to administrator and enabling user registration. This can allow attackers to gain administrative access to the site, compromising confidentiality, integrity, and availability of the affected WordPress installation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should ensure that the 'WPBRIGADE_SDK__DEV_MODE' constant is not set to true in production environments to prevent exploitation. Additionally, administrators should exercise caution when interacting with untrusted links or requests that could trigger plugin option changes.
CVE-2025-2111: CWE-352 Cross-Site Request Forgery (CSRF) in hiddenpearls Insert Headers And Footers
Description
The Insert Headers And Footers plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.1.1. This is due to missing or incorrect nonce validation on the 'custom_plugin_set_option' function. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site. The 'WPBRIGADE_SDK__DEV_MODE' constant must be set to 'true' to exploit the vulnerability.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Insert Headers And Footers plugin for WordPress contains a CSRF vulnerability due to improper nonce validation in the 'custom_plugin_set_option' function. This flaw allows unauthenticated attackers to craft forged requests that, if executed by an administrator, can modify critical site options such as the default user role and registration settings. Exploitation requires the 'WPBRIGADE_SDK__DEV_MODE' constant to be enabled (set to true). This vulnerability affects all versions up to and including 3.1.1 and can lead to privilege escalation by enabling attacker-controlled administrative accounts. The CVSS 3.1 base score is 7.5, indicating high severity. No known exploits in the wild or patch information are currently available.
Potential Impact
Successful exploitation can result in unauthorized modification of WordPress site options, including changing the default user role to administrator and enabling user registration. This can allow attackers to gain administrative access to the site, compromising confidentiality, integrity, and availability of the affected WordPress installation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should ensure that the 'WPBRIGADE_SDK__DEV_MODE' constant is not set to true in production environments to prevent exploitation. Additionally, administrators should exercise caution when interacting with untrusted links or requests that could trigger plugin option changes.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-03-07T23:55:37.419Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b1fb7ef31ef0b54e52e
Added to database: 2/25/2026, 9:35:27 PM
Last enriched: 4/9/2026, 5:10:36 PM
Last updated: 4/12/2026, 9:17:02 AM
Views: 27
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.