CVE-2024-31211

published 4 Apr 2024 · updated 2 Aug 2024

Remote Code Execution in `WP_HTML_Token`

5.5MediumCVSS 5.5EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WordPressWordPress>=6.4.0 <6.4.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WordPress, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-31211 severity on Zeptric[![CVE-2024-31211](https://zeptric.io/badge/cve/CVE-2024-31211.svg)](https://zeptric.io/cve/CVE-2024-31211)