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.
Published: 2025-04-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from missing or incorrect nonce validation in the plugin's 'custom_plugin_set_option' function. This flaw allows an unauthenticated attacker, by tricking an administrator into visiting a crafted URL, to modify any plugin option on the site. By changing the default registration role to administrator and enabling user registration, an attacker can create an administrative account and gain full control of the WordPress installation.

Affected Systems

All releases of the Insert Headers And Footers plugin up to and including version 3.1.1 are affected. The plugin is distributed by hiddenpearls under the name Insert Headers And Footers for WordPress and should be upgraded to the latest version that fixes the CSRF flaw.

Risk and Exploitability

The flaw carries a CVSS score of 7.5 and an EPSS score below 1 percent, indicating moderate severity with a low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires that the site has the WPBRIGADE_SDK__DEV_MODE constant set to true and that an administrator clicks a malicious link that submits an unauthorized request to the 'custom_plugin_set_option' endpoint. Successful exploitation can lead to privilege escalation by creating an attacker-controlled administrator account.

Generated by OpenCVE AI on April 22, 2026 at 01:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Insert Headers And Footers plugin to the latest version that contains the fix.
  • Disable or remove the WPBRIGADE_SDK__DEV_MODE constant from the site's configuration to prevent the exploit from functioning.
  • Verify that no unauthorized administrator accounts exist and that the default registration role is set appropriately, reverting to a less privileged role if necessary.

Generated by OpenCVE AI on April 22, 2026 at 01:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-11933 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.
History

Mon, 21 Apr 2025 03:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 19 Apr 2025 05:45:00 +0000

Type Values Removed Values Added
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.
Title WP Headers And Footers <= 3.1.1 - Cross-Site Request Forgery to Arbitrary Options Update
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:02:26.129Z

Reserved: 2025-03-07T23:55:37.419Z

Link: CVE-2025-2111

cve-icon Vulnrichment

Updated: 2025-04-21T02:39:39.138Z

cve-icon NVD

Status : Deferred

Published: 2025-04-19T06:15:19.657

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-2111

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T01:45:05Z

Weaknesses