---
id: CVE-2025-12109
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-12-13'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12109'
references:
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3388587%40header-and-footer-script-adder&new=3388587%40header-and-footer-script-adder&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/cab034fd-4cf2-4253-bbcd-c8bb86325fa8?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00219
epssPercentile: 0.11146
ingestedAt: '2026-09-30T23:29:32.489Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
