CVE-2025-12109 MEDIUM

CVE-2025-12109: Header Footer Script Adder – Insert Code in Header, Body & Footer <= 2.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting

Vendor Mahethekiller
Product Header Footer Script Adder – Insert Code in Header, Body & Footer
Weakness CWE-79 · XSS
Published December 13, 2025
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

The Header Footer Script Adder – Insert Code in Header, Body & Footer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the script adder present in posts in all versions up to, and including, 2.0.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Explanation of Vulnerability in Simple Terms

02Summary

The Header Footer Script Adder plugin for WordPress contains a cross-site scripting (XSS) vulnerability in versions up to 2.0.5. An authenticated user with low privileges can inject malicious scripts that execute in the context of other users' browsers, potentially affecting site visitors and administrators. The vulnerability allows script injection through the plugin's code insertion functionality.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers, stealing session tokens or performing actions on their behalf.

Potential impact on your site

04Site Impact

Visitors and administrators may have their sessions hijacked or be redirected to malicious sites; site reputation and user data at risk.

Conditions required to exploit

05Prerequisites

Attacker must have a WordPress user account with low-level privileges (e.g., contributor or subscriber role).

Key dates

06Disclosure timeline

December 13, 2025 CVE published
April 8, 2026 Record updated