← Vulnerability feed

Vulnerability record · CVE-2024-31211 · published 4 April 2024

CVE-2024-31211: Wordpress deserialization of untrusted data vulnerability

Wordpress · Wordpress

WordPress is an open publishing platform for the Web. Unserialization of instances of the `WP_HTML_Token` class allows for code execution via its `__destruct()` magic method. This issue was fixed in WordPress 6.4.2 on December 6th, 2023. Versions prior to 6.4.0 are not affected.

9.8 CVSS 3.1 Critical EPSS 2.7% · top 13.6% CWE-502 · Deserialization of untrusted data
9.8CVSS 3.1 base score
2.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

WordPress is an open publishing platform for the Web. Unserialization of instances of the `WP_HTML_Token` class allows for code execution via its `__destruct()` magic method. This issue was fixed in WordPress 6.4.2 on December 6th, 2023. Versions prior to 6.4.0 are not affected.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-31211 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2006-4028Wordpress vulnerabilityMultiple unspecified vulnerabilities in WordPress before 2.0.4 have unknown impact and remote attack vectors. NOTE: due to lack of details, it is not…EPSS 3.8%7.8CVE-2007-0539Wordpress vulnerabilityThe wp_remote_fopen function in WordPress before 2.1 allows remote attackers to cause a denial of service (bandwidth or thread consumption) via pingb…EPSS 3.6%7.8CVE-2007-0262Wordpress vulnerabilityWordPress 2.0.6, and 2.1Alpha 3 (SVN:4662), does not properly verify that the m parameter value has the string data type, which allows remote attacke…EPSS 2.6%7.5CVE-2003-1599Wordpress code injection vulnerabilityPHP remote file inclusion vulnerability in wp-links/links.all.php in WordPress 0.70 allows remote attackers to execute arbitrary PHP code via a URL i…EPSS 3.1%7.5CVE-2003-1598Wordpress sql injection vulnerabilitySQL injection vulnerability in log.header.php in WordPress 0.7 and earlier allows remote attackers to execute arbitrary SQL commands via the posts va…EPSS 2.9%7.5CVE-2007-4894Wordpress sql injection vulnerabilityMultiple SQL injection vulnerabilities in Wordpress before 2.2.3 and Wordpress multi-user (MU) before 1.2.5a allow remote attackers to execute arbitr…EPSS 3.6%7.5CVE-2007-2821Wordpress vulnerabilitySQL injection vulnerability in wp-admin/admin-ajax.php in WordPress before 2.2 allows remote attackers to execute arbitrary SQL commands via the cook…EPSS 5.2%7.5CVE-2007-1277Wordpress improper input validation vulnerabilityWordPress 2.1.1, as downloaded from some official distribution sites during February and March 2007, contains an externally introduced backdoor that …EPSS 28%

Source: NIST National Vulnerability Database (record CVE-2024-31211), CISA KEV, FIRST EPSS (scores of 2026-11-24). This page is refreshed as NVD updates the record.