CVE-2025-2111 HIGH

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

Vendor Hiddenpearls
Product Insert Headers And Footers
Weakness CWE-352 · CSRF
Published April 19, 2025
Last update April 8, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Insert Headers And Footers versions 3.1.1 and earlier contain a cross-site request forgery (CSRF) vulnerability. An attacker can craft a malicious webpage that, when visited by a logged-in site administrator, performs unauthorized actions such as modifying site headers or footers without the admin's knowledge or consent. The attack requires the admin to visit the attacker's page while authenticated to the WordPress site.

What an attacker can do

03Attacker Capabilities

Trick a logged-in admin into modifying site headers, footers, or plugin settings without their knowledge.

Potential impact on your site

04Site Impact

Attackers can deface your site's headers/footers or inject malicious content visible to all visitors without your permission.

Conditions required to exploit

05Prerequisites

Admin must visit attacker's webpage while logged into WordPress. No special privileges or complex setup required.

Key dates

06Disclosure timeline

April 19, 2025 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE