CVE-2024-31211 - CVE House
Back to Database
Status published Medium CVE-2024-31211

Remote Code Execution in `WP_HTML_Token`

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-31211

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

wordpress-develop
Vulnerable Versions:
>= 6.4.0 < 6.4.2

Timeline

Official Publish: April 4th, 2024
Last Modified: August 2nd, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Weaknesses (CWE)