CVE-2024-31211Wordpress
Critical 9.8 No auth needed
Follow: this CVE · Wordpress · Wordpress We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.9% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Apr 4, 2024
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Wordpress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wordpress | wordpress | ≥ 6.4.0 < 6.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory