Name | CVE-2024-31211 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
wordpress (PTS) | jessie, jessie (lts) | 4.1.35+dfsg-0+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 4.7.23+dfsg-0+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 5.0.21+dfsg1-0+deb10u1 | fixed |
| bullseye (security), bullseye | 5.7.11+dfsg1-0+deb11u1 | fixed |
| bookworm (security), bookworm | 6.1.6+dfsg1-0+deb12u1 | fixed |
| sid, trixie | 6.6.1+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
wordpress | source | jessie | (unfixed) | end-of-life | | |
wordpress | source | stretch | (unfixed) | end-of-life | | |
wordpress | source | buster | (not affected) | | | |
wordpress | source | bullseye | (not affected) | | | |
wordpress | source | bookworm | (not affected) | | | |
wordpress | source | (unstable) | 6.4.2+dfsg1-1 | | | |
Notes
[bookworm] - wordpress <not-affected> (Vulnerable code not present)
[bullseye] - wordpress <not-affected> (Vulnerable code not present)
[buster] - wordpress <not-affected> (Vulnerable code not present)
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653
https://wordpress.org/documentation/wordpress-version/version-6-4-2/#installation-update-information
https://www.wordfence.com/blog/2023/12/psa-critical-pop-chain-allowing-remote-code-execution-patched-in-wordpress-6-4-2/