Skip to content

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

HighCVSS 7.5 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
hiddenpearls Insert Headers And Footers <= 3.1.1 after 3.1.1 Fixed
wordpress wp-headers-and-footers(WordPress) < 3.1.2 3.1.2 Fixed

Affected products

ProductAffected versionsFixed in
wordpress wp-headers-and-footers(WordPress) < 3.1.2 3.1.2
hiddenpearls Insert Headers And Footers <= 3.1.1 No fix listed

References