All vulnerabilities

WordPress core

GHSA-6955-723v-xvmm

A malformed regular expression that broadened JSON media type matching, fixed as a hardening measure

Severity
Low
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

wp_is_json_media_type() used a regular expression with an unescaped hyphen, so it accepted malformed media types such as application/foo/bar+json as JSON. That content-type confusion can make it easier for requests to get past upstream firewall filters. There is no direct vulnerability as a result of this, but the issue is being fixed as a hardening measure.

WordPress 7.1.5 has been released containing hardening, and as a courtesy to users on older branches the hardening has been backported to all branches back to 5.6.

Discovered and responsibly disclosed by Mo Jangda.

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 16 release lines
  • From 5.6.0 before 5.6.24
  • From 5.7.0 before 5.7.22
  • From 5.8.0 before 5.8.20
  • 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