All vulnerabilities

WordPress core

GHSA-pmp8-6cv8-q323

An unauthenticated privilege escalation issue via Template Part block attributes that could lead to remote code execution

Severity
High
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
19 Nov 2026
Fixed in
6.6.12, 6.7.12, 6.8.13, 6.9.12, 7.0.9, 7.1.5
Sources
WordPress

Description

A Template Part block's theme and slug attributes could make an Administrator's editor send requests to another URL on the same site. A user with the Author role or above could set them in a post, and an unauthenticated attacker could send an Administrator a crafted editor link or redirect them to one. When the Administrator opened it, this could create an Administrator account for the attacker, which allows code execution through plugin upload.

WordPress 7.1.5 has been released containing a fix for the vulnerability, and as a courtesy to users on older branches the fix has been backported to all branches back to 5.9.

Discovered and responsibly disclosed by logansec.

From WordPress/wordpress-develop's security advisory.

Affected software

SoftwareAffected versions
WordPressWordPress core · cpe:a:wordpress:wordpress
  • From 7.1.0 before 7.1.5
  • From 7.0.0 before 7.0.9
  • From 6.9.0 before 6.9.12
  • From 6.8.0 before 6.8.13
All 13 release lines
  • From 5.9.0 before 5.9.21
  • From 6.0.0 before 6.0.19
  • From 6.1.0 before 6.1.17
  • From 6.2.0 before 6.2.16
  • From 6.3.0 before 6.3.15
  • From 6.4.0 before 6.4.15
  • From 6.5.0 before 6.5.15
  • From 6.6.0 before 6.6.12
  • From 6.7.0 before 6.7.12
  • From 6.8.0 before 6.8.13
  • From 6.9.0 before 6.9.12
  • From 7.0.0 before 7.0.9
  • From 7.1.0 before 7.1.5

About WordPress

content management system

From Wikidata, CC0 1.0.
Share of websites with a known CMS
57.6%W3Techs, Nov 2026
Developers who used it in the past year
13.6%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
1,510,625,792Docker Hub, 15 Nov 2026
GitHub stars
21,544GitHub, 15 Nov 2026
Forks
13,040GitHub, 15 Nov 2026
Developer
WordPress FoundationWikidata
License
GNU General Public License, version 2.0 or laterWikidata
Written in
PHP, JavaScriptWikidata
First released
27 May 2003Wikidata
First published on GitHub
1 Dec 2011GitHub

Release lines

ReleaseLatestSecurity fixes
7.17.1.4Yes
7.07.0.8Yes
6.96.9.11Yes
6.86.8.12Yes
6.76.7.11Yes
6.66.6.11Yes

From endoflife.date.

References