CVE-2024-31211 MEDIUM

CVE-2024-31211: Remote Code Execution in `WP_HTML_Token`

Vendor Wordpress
Product wordpress-develop
Weakness CWE-502 · Unsafe deserialization
Published April 4, 2024
Last update August 2, 2024

CVSS base score

5.5/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 4, 2024 CVE published
August 2, 2024 Record updated