Description
The Header Footer Script Adder – Insert Code in Header, Body & Footer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'asm_code' Snippet Meta in all versions up to, and including, 2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-07-23
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Header Footer Script Adder plugin for WordPress allows an authenticated user with author-level access or higher to store arbitrary JavaScript in the "asm_code" snippet meta field. The stored script is then rendered on every page that includes the snippet, causing it to execute in the browsers of users who view the affected pages. This vulnerability is a CWE‑79 stored cross‑site scripting flaw stemming from insufficient input sanitization and output escaping.

Affected Systems

All WordPress installations running mahethekiller’s Header Footer Script Adder plugin version 2.1 or earlier are affected. The impact is limited to sites where an authenticated user possesses author‑level permissions or higher and the plugin is active on public pages.

Risk and Exploitability

The CVSS score of 6.4 translates to a medium severity. The EPSS score of less than 1% indicates a low current exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. An attacker must have author‑level credentials to inject code. Once such a script is stored, any visitor to pages that display the snippet will have the malicious script executed in their browser, presenting a typical XSS risk.

Generated by OpenCVE AI on August 4, 2026 at 15:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Header Footer Script Adder to the latest available version that addresses the stored XSS flaw
  • If an immediate upgrade is infeasible, disable or remove the plugin until a patch is applied
  • Implement a Content Security Policy that restricts script sources to trusted domains to mitigate potential XSS attacks

Generated by OpenCVE AI on August 4, 2026 at 15:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Mahethekiller
Mahethekiller header Footer Script Adder
Wordpress
Wordpress wordpress
Vendors & Products Mahethekiller
Mahethekiller header Footer Script Adder
Wordpress
Wordpress wordpress
Metrics ssvc

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


Thu, 23 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
Description The Header Footer Script Adder – Insert Code in Header, Body & Footer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'asm_code' Snippet Meta in all versions up to, and including, 2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Header Footer Script Adder <= 2.1 - Authenticated (Author+) Stored Cross-Site Scripting via 'asm_code' Snippet Meta
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

Mahethekiller Header Footer Script Adder
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-23T14:54:29.917Z

Reserved: 2026-07-10T13:06:59.654Z

Link: CVE-2026-15394

cve-icon Vulnrichment

Updated: 2026-07-23T13:54:44.756Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T10:16:50.433

Modified: 2026-07-23T16:17:13.740

Link: CVE-2026-15394

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T15:45:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')