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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31211.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": ">= 6.4.0 < 6.4.2"
},
{
"last_affected": ">= 6.4.0 < 6.4.2"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.2"
}
],
"source": "CPE_RANGE"
}