# CVE-2025-2111: WP Headers And Footers <= 3.1.1 - Cross-Site Request Forgery to Arbitrary Options Update

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-04-19T05:30:13.219Z
- Modified: 2026-06-17T09:06:20.827Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- hiddenpearls Insert Headers And Footers: up to 3.1.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/7b00d175-261d-46e3-bf3c-2d18f4e4972d?source=cve>
- <https://plugins.trac.wordpress.org/browser/wp-headers-and-footers/trunk/lib/wpb-sdk/views/wpb-debug.php#L69>
- <https://plugins.trac.wordpress.org/browser/wp-headers-and-footers/trunk/lib/wpb-sdk/views/wpb-debug.php#L63>
- <https://plugins.trac.wordpress.org/changeset/3276361/>

## Sources

- CVE List: [CVE-2025-2111](https://www.cve.org/CVERecord?id=CVE-2025-2111), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-2111](https://nvd.nist.gov/vuln/detail/CVE-2025-2111), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-2111 · Whole record: https://cve.day/CVE-2025-2111.json · Rebuilt by cve.day 2026-11-25T22:58:56.789Z
