BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2024-31211

CRITICAL 9.8 CVSS 3.1
Published
April 4, 2024
Last modified
June 17, 2026
NVD status
Analyzed
Reported by
security-advisories@github.com
Weakness
CWE-502
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Affected WordPress components

  • WordPress core
    Confirmed match
    From 6.4.0 (including) to 6.4.2 (excluding)

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • WordPress wordpress-develop — Version >= 6.4.0 < 6.4.2
  • wordpress wordpress — From 6.4.0 (including) to 6.4.2 (excluding)

References

  • github.com https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653 Vendor Advisory
  • nvd.nist.gov Official NVD record