WordPress security changelog
MEDIUM CVE-2024-31211 Analyzed

WordPress 6.4.2 on December 6th, 2023: A security weakness

WordPress 6.4.2 on December 6th, 2023 is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 5.5 CVSS 3.1 · security-advisories@github.com
NVD score 9.8 CVSS 3.1 · nvd@nist.gov
Component
WordPress 6.4.2 on December 6th, 2023
Plugin slug
Not applicable
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Apr 04, 2024
Weakness
CWE-502 — Deserialization of Untrusted Data

Update, patch or deactivate.

Update WordPress 6.4.2 on December 6th, 2023 to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

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

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

Primary and upstream sources