Description
The Header and Footer Scripts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _inpost_head_script parameter in all versions up to, and including, 2.3.0 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.
Published: 2026-01-09
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored cross‑site scripting that allows arbitrary JavaScript to run in browsers of any user who views a page with the injected script
Action: Patch immediately
AI Analysis

Impact

The Header and Footer Scripts plugin for WordPress contains a stored XSS flaw that is triggered through the _inpost_head_script parameter. Insufficient input sanitization and output escaping enable an attacker to store malicious JavaScript in the plugin's configuration, which is then rendered into every page that includes the script. This vulnerability allows the injection of arbitrary client‑side code that can execute in the context of any visitor to the affected page.

Affected Systems

WordPress sites that have installed the anand_kumar:Header and Footer Scripts plugin, in any version up to and including 2.3.0. The flaw is exploitable by any authenticated user with Contributor level or higher access on the site.

Risk and Exploitability

With a CVSS score of 6.4 the vulnerability is rated moderate. The EPSS score of less than 1% indicates a low probability that exploit code will be widely deployed at present. The flaw is not listed in the CISA KEV catalog. An attacker needs a valid Contributor+ account; once authenticated, they can inject script via the plugin’s configuration interface, causing that script to execute automatically for each user who views the processed page.

Generated by OpenCVE AI on April 21, 2026 at 00:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Header and Footer Scripts plugin to any version newer than 2.3.0 to remove the flaw
  • If the plugin cannot be updated, deactivate it on the site until a patched version is available
  • Restrict Contributor and higher roles from editing the _inpost_head_script parameter by adjusting WordPress role capabilities or by disabling the script editing feature in the plugin settings
  • Locate and delete any stored malicious payloads in the _inpost_head_script option to eliminate already‑deployed code

Generated by OpenCVE AI on April 21, 2026 at 00:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
Description The Header and Footer Scripts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _inpost_head_script parameter in all versions up to, and including, 2.2.2 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. The Header and Footer Scripts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _inpost_head_script parameter in all versions up to, and including, 2.3.0 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.
Title Header and Footer Scripts <= 2.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting Header and Footer Scripts <= 2.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
References

Fri, 09 Jan 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 09 Jan 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Anand Kumar
Anand Kumar header And Footer Scripts
Wordpress
Wordpress wordpress
Vendors & Products Anand Kumar
Anand Kumar header And Footer Scripts
Wordpress
Wordpress wordpress

Fri, 09 Jan 2026 11:30:00 +0000

Type Values Removed Values Added
Description The Header and Footer Scripts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _inpost_head_script parameter in all versions up to, and including, 2.2.2 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.
Title Header and Footer Scripts <= 2.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Anand Kumar Header And Footer Scripts
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:26:20.058Z

Reserved: 2025-10-07T17:26:44.860Z

Link: CVE-2025-11453

cve-icon Vulnrichment

Updated: 2026-01-09T17:03:34.423Z

cve-icon NVD

Status : Deferred

Published: 2026-01-09T12:15:50.620

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-11453

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T00:30:22Z

Weaknesses