WordPress Core 6.4.0 - 6.4.1 - Remote Code Execution POP Chain

9.8
Deserialization of Untrusted Data
CVE CVE-2024-31211
CVSS 9.8 (Critical)
Publicly Published December 6, 2023
Last Updated May 7, 2024

Description

WordPress Core is vulnerable to remote code execution via a PHP gadget in version 6.4.0 and 6.4.1. This is due to there being a magic method __destruct in the WP_HTML_Token class. This makes it possible for attackers to achieve remote code execution when another deserialization/PHP Object Injection vulnerability is present on the site.

References

Share

Vulnerability Details for WordPress

Software Type Core
Patched? Yes
Remediation Update to version 6.4.2, or a newer patched version
Affected Versions
  • 6.4.0
  • 6.4.1
Patched Version
  • 6.4.2

Recent vulnerabilities in WordPress

5.5
CVE ID Unknown
Aug 8, 2026
Researchers:
# Title CVE ID CVSS Researchers Date
1 WordPress Core <= 7.0.3 - Authenticated (Author+) Remote Code Execution via Malicious File Upload CVE-2026-65640 8.8 pwn.ai Team August 12, 2026
2 WordPress Core <= 7.0.2 - Unauthenticated Reflected Cross-Site Scripting via log Parameter CVE-2026-64638 6.1 pwn.ai Team August 8, 2026
3 WordPress Core <= 7.0.2 - Authenticated (Subscriber+) Email Change Confirmation Bypass 4.3 0ways August 8, 2026
4 WordPress Core <= 7.0.2 - Unauthenticated Blind Server-Side Request Forgery 5.8 Andrew MacPherson August 8, 2026
5 WordPress Core <= 7.0.2 - Unauthenticated Sensitive Information Exposure via Comment Feeds 5.3 Elio Gubser (odkdn1) August 8, 2026
6 WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Quick Edit 4.9 moochi, mappymappy August 8, 2026
7 WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Emoji Settings Element 6.4 Asaf Mozes August 8, 2026
8 WordPress Core <= 7.0.2 - Authenticated (Subscriber+) Missing Authorization to Arbitrary Site Creation on Multisite 4.3 Aikido Security August 8, 2026
9 WordPress Core <= 7.0.2 - Authenticated (Author+) CSS Injection 5.5 August 8, 2026
10 WordPress Core 6.8 - 7.0.1 - Unauthenticated SQL Injection via author__not_in Parameter CVE-2026-60137 7.5 Tin Pham (TF1T), Trong Pham (dtro), haongo July 17, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation