Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | >= 6.4.0, < 6.4.2 |
Related Weaknesses (CWE)
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4mVendor Advisory
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4mVendor Advisory
FAQ
What is CVE-2024-31211?
CVE-2024-31211 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 W...
How severe is CVE-2024-31211?
CVE-2024-31211 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-31211?
Check the references section above for vendor advisories and patch information. Affected products include: Wordpress Wordpress.