Radar sectionsDatabase
Check my site
WordPress wordpress core

WordPress Core <= 7.1 — Authenticated (Administrator+) Stored Cross-Site Scripting via Custom Header Image Data

3d59700b-3540-464c-bd27-23bb71f9b082Published · Updated

Action summary

Affected: ≤7.1Update to 6.6.8 or 6.7.8 or 6.8.9 or 6.9.8 or 7.0.5 or 7.1.1 or newer

Fixed versions are per release branch: update to the fix for the branch you run.

All remediation steps
Medium4.4CVSS 3.14.4CISA KEVNot listedAccessUnknown

Overview

Advisory ID
3d59700b-3540-464c-bd27-23bb71f9b082
Product
WordPress wordpress
Affected
≤7.1
Fixed in
6.6.8, 6.7.8, 6.8.9, 6.9.8, 7.0.5, 7.1.1
Required access
Unknown
Published
· updated
Credit
Jeremy Felt
  1. Affected≤ 7.1
  2. Patched in6.6.8 / 6.7.8 / 6.8.9 / 6.9.8 / 7.0.5 / 7.1.1

Update to 6.6.8 / 6.7.8 / 6.8.9 / 6.9.8 / 7.0.5 / 7.1.1 or newer.

4.4
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:H Attack complexity
High
PR:H Privileges required
High
UI:N User interaction
None
S:C Scope
Changed
C:L Confidentiality
Low
I:L Integrity
Low
A:N Availability
None

WordPress Core is vulnerable to Stored Cross-Site Scripting via the custom header 'header_image_data' theme mod in various versions up to, and including, 7.1 due to insufficient sanitization of the header image width/height/URL values and an unescaped style attribute in the custom-header admin screen. get_custom_header() returned width/height without integer casting and Custom_Image_Header::step_1() echoed the style string without escaping. This makes it possible for authenticated attackers with edit_theme_options capability to inject web scripts; primarily relevant on Multisite where site administrators lack unfiltered_html.

Not sure which version you run? Run a passive check — it reads public files only.

Remediation & mitigations

  1. Update to one of the following versions, or a newer patched version: 6.6.8, 6.7.8, 6.8.9, 6.9.8, 7.0.5, 7.1.1
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.

References & provenance

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

Related CVEs

Other Cross-Site Scripting vulnerabilities
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored DOM-Based Cross-Site Scripting via Image Alt Attribute in .wp-caption ContainersCVE-2026-120687
Medium6.4Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Popup' Shortcode Attribute via Profile Video
FV Player 8≤8.1.9Update to 8.2.0
CVE-2026-110531
Medium5.4Unauthenticated Stored Cross-Site Scripting via 'title' Attribute of [bf_login_form] Shortcode
BuddyForms≤2.10.6Update to 2.10.7
CVE-2026-127115
High7.2Unauthenticated Stored Cross-Site Scripting via Multipart Field Name
Multi Step for Contact Form 7≤2.9.1Update to 2.9.2
CVE-2026-116753

Timeline

  1. CVE published

    Severity medium, CVSS 4.4

  2. Record last updated

Sources & licenses

Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?