---
id: CVE-2025-12112
title: >-
  The Insert Headers and Footers Code – HT Script plugin for WordPress is
  vulnerable to Stored Cross-Site Scripting via adding scripts in all versions
  up to, and including, 1.1.6 due to insufficient capability checks
summary: >-
  The Insert Headers and Footers Code – HT Script plugin for WordPress is
  vulnerable to Stored Cross-Site Scripting via adding scripts in all versions
  up to, and including, 1.1.6 due to insufficient capability checks. This makes
  it possibl…
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-11-08'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12112'
references:
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3387037%40insert-headers-and-footers-script&new=3387037%40insert-headers-and-footers-script&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/f97ced40-c349-43b4-963f-2a49db4bbd4a?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.0018
epssPercentile: 0.06936
ingestedAt: '2026-10-07T21:54:14.986Z'
---

## Overview

The Insert Headers and Footers Code – HT Script plugin for WordPress is vulnerable to Stored Cross-Site Scripting via adding scripts in all versions up to, and including, 1.1.6 due to insufficient capability checks. 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.

## Remediation

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