← back to popular plugins
wordfence / plugin · wp-headers-and-footers
Insert Headers And Footers
wp-headers-and-footers
total installs
300,000
total vulns
1
critical
0
high
1
medium
0
low
0
latest vuln
—
patched
1
unpatched
0
avg time to patch
—
vulnerabilities
(1)
WP Headers And Footers <= 3.1.1 - Cross-Site Request Forgery to Arbitrary Options Update
high
✓ patched
cve id
CVE-2025-2111 ↗
cvss score
7.5
cwe
CWE-352: Cross-Site Request Forgery (CSRF)
published
Apr 18, 2025
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.