Vulnerability Database

317,182

Total vulnerabilities in the database

CVE-2024-31211

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.

  • Published: Apr 4, 2024
  • Updated: Nov 16, 2025
  • CVE: CVE-2024-31211
  • Severity: Medium
  • Exploit:

CVSS v3:

  • Severity: Medium
  • Score: 5.5
  • AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N