9.8

CVE-2024-31211: Remote Code Execution in `WP_HTML_Token`

Analyzed
AliasesUBUNTU-CVE-2024-31211DEBIAN-CVE-2024-31211
Published 04-04-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-31211 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in wordpress. EPSS estimates a 2.74% chance of exploitation in the next 30 days, higher than 86.6% of scored vulnerabilities. Fixed in 6.4.2.

Priority
Routine

Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.74%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 04-04-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

2.74%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.74% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Wordpress3 products
  • wordpress6.4.0 (fixed in 6.4.2) | 6.4.1 (fixed in 6.4.2)
  • wordpress≥ 6.4.0, < 6.4.2
  • wordpress-develop≥ 6.4.0 < 6.4.2 (No fix recorded)
Debian1 product
  • wordpress< 6.4.2+dfsg1-1
Ubuntu1 product
  • wordpressAll versions (No fix recorded)

3 vendors · 5 products

References

7 links