CVE-2024-31211 json
Remote Code Execution in `WP_HTML_Token`
published 2y ago modified 2mo ago also BIT-wordpress-2024-31211 , BIT-wordpress-multisite-2024-31211 , EUVD-2024-29111 , GHSA-m257-q4m5-j653
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami wordpress 6.4.2
- bitnami wordpress-multisite 6.4.2
- wordpress wordpress 6.4.2
- johnpbloch wordpress-core 6.4.2
- wordpress Debian 14, Debian 13 6.4.2+dfsg1-1
debian advisories DEBIAN-CVE-2024-31211
Is CVE-2024-31211 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
2.74% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | wordpress | >=6.4.0, <6.4.2 |
6.4.2 |
| bitnami | wordpress-multisite | >=6.4.0, <6.4.2 |
6.4.2 |
Affected products
- WordPress wordpress-develop
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
- Technology feeds
References
-
github.com
/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-31211
web
Sources
- CVE List CVE-2024-31211
- NVD CVE-2024-31211
- OSV BIT-wordpress-2024-31211
- OSV BIT-wordpress-multisite-2024-31211
- Maintainer advisory GHSA-m257-q4m5-j653
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of WordPress/wordpress-develop published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.