CVE-2024-31211
Remote Code Execution in `WP_HTML_Token`
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.740% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Assessment source · checked 2026-11-19T10:45:51.889Z
CVSS 3.1 · 5.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Assessment source · checked 2026-11-19T14:19:15.468Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T10:45:51.889Z | CVE Program |
| epss | verified | 2026-11-19T18:27:10.600Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:15.468Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:45:51.889Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:51.889Z | CVE Program |
Affected versions and configuration
WordPress wordpress-develop; default status: unknown: >= 6.4.0 < 6.4.2 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "wordpress",
"debian": "https://tracker.debian.org/pkg/wordpress",
"source": "https://ubuntu.com/security/cve?package=wordpress",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=wordpress",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.4.3+dfsg1-1ubuntu1",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "6.4.2+dfsg1-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "mantic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.4.3+dfsg1-1ubuntu1",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.4.3+dfsg1-1ubuntu1",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.4.3+dfsg1-1ubuntu1",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.4.3+dfsg1-1ubuntu1",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.4.3+dfsg1-1ubuntu1",
"release_codename": "questing"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "WordPress",
"product": "wordpress-develop",
"versions": [
{
"status": "affected",
"version": ">= 6.4.0 < 6.4.2"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-31211",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-04-05T14:00:20.723760Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-04T17:36:13.480Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653",
"name": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T01:46:04.743Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | wordpress | Not a distribution channel | 6.4.2+dfsg1-1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:45:51.889ZArchived source JSON
Source publication: 2024-04-04T23:00:17.782Z
Source modification: 2024-08-02T01:46:04.743ZDocument fingerprint
b47e2b75db4e4c34e9767120eebfba0e9f914d12f56646a3b7932dfc559d44e2 - FIRST EPSSConsulted: 2026-11-19T18:27:10.600ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
55a64ee9ca0f1d908a48c56be557bd1ef72d684d2b38b659335bfacedc0274cc - Ubuntu SecurityConsulted: 2026-11-19T14:19:15.468ZArchived source JSON
Source publication: 2024-04-04T23:15:00.000Z
Source modification: 2025-08-26T13:58:51.301ZDocument fingerprint
eaa3aa0d73ca14e216be52a24b40ef1acc5d7308e5b82bbb50c1c4de13314c67 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence