Skip to main content
← All vulnerabilities
CVE-2024-31211

Remote Code Execution in `WP_HTML_Token`

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • WordPress wordpress-develop

    >= 6.4.0 < 6.4.2

References 2

GitHub · WordPress/wordpress-develop

GitHub · Abdurahmon3236/-CVE-2024-31211