Deserialization in WordPress

CVE-2024-31211

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.

Vulnerability class: Insecure Deserialization

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.028 (85.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-31211: held from 0.028 to 0.028.

EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-31211?
CVE-2024-31211 is a medium-severity vulnerability in WordPress, classified under Deserialization of Untrusted Data. CVSS score: 5.5/10. Published 2024-04-04.
How severe is CVE-2024-31211?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2024-31211 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.