CVE-2024-31211: WordPress - Insecure Deserialization
- Cve: CVE-2024-31211
- Name: WordPress - Insecure Deserialization
- 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.
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to WordPress 6.4.2 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0274
- Epss percentile: 0.86428
- Assignee: [email protected]
- Published at: 2024-04-04T23:15:16Z
- Age in days: 964
- Modified at: 2026-06-17T07:27:59Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-31211
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Abdurahmon3236/-CVE-2024-31211 | poc-in-github | 2024-08-03 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wordpress:wordpress | >= 6.4.0, < 6.4.2 | no | nvd | /v1/products/wordpress/wordpress |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wordpress/wordpress-develop | security_advisory | yes | /v1/repositories/wordpress/wordpress-develop |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-08-03
- Remote: yes
- Exposed hosts: 3155822
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports