CVE-2024-31210
PHP file upload bypass via Plugin installer
WordPress is an open publishing platform for the Web. It's possible for a file of a type other than a zip file to be submitted as a new plugin by an administrative user on the Plugins -> Add New -> Upload Plugin screen in WordPress. If FTP credentials are requested for installation (in order to move the file into place outside of the `uploads` directory) then the uploaded file remains temporary available in the Media Library despite it not being allowed. If the `DISALLOW_FILE_EDIT` constant is set to `true` on the site _and_ FTP credentials are required when uploading a new theme or plugin, then this technically allows an RCE when the user would otherwise have no means of executing arbitrary PHP code. This issue _only_ affects Administrator level users on single site installations, and Super Admin level users on Multisite installations where it's otherwise expected that the user does not have permission to upload or execute arbitrary PHP code. Lower level users are not affected. Sites where the `DISALLOW_FILE_MODS` constant is set to `true` are not affected. Sites where an administrative user either does not need to enter FTP credentials or they have access to the valid FTP credentials, are not affected. The issue was fixed in WordPress 6.4.3 on January 30, 2024 and backported to versions 6.3.3, 6.2.4, 6.1.5, 6.0.7, 5.9.9, 5.8.9, 5.7.11, 5.6.13, 5.5.14, 5.4.15, 5.3.17, 5.2.20, 5.1.18, 5.0.21, 4.9.25, 2.8.24, 4.7.28, 4.6.28, 4.5.31, 4.4.32, 4.3.33, 4.2.37, and 4.1.40. A workaround is available. If the `DISALLOW_FILE_MODS` constant is defined as `true` then it will not be possible for any user to upload a plugin and therefore this issue will not be exploitable.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.995% · 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-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.7 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Assessment source · checked 2026-11-19T10:45:51.839Z
CVSS 3.1 · 7.6 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Assessment source · checked 2026-11-19T14:19:15.468Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T10:45:51.839Z | CVE Program |
| epss | verified | 2026-11-19T16:04:38.218Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:15.468Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:45:51.839Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:51.839Z | CVE Program |
Affected versions and configuration
WordPress wordpress-develop; default status: unknown: >= 6.4.0, < 6.4.3 [affected; scheme: unspecified]; >= 6.3.0, < 6.3.3 [affected; scheme: unspecified]; >= 6.2.0, < 6.2.4 [affected; scheme: unspecified]; >= 6.1.0, < 6.1.5 [affected; scheme: unspecified]; >= 6.0.0, < 6.0.7 [affected; scheme: unspecified]; >= 5.9.0, < 5.9.9 [affected; scheme: unspecified]; >= 5.8.0, < 5.8.9 [affected; scheme: unspecified]; >= 5.7.0, < 5.7.11 [affected; scheme: unspecified]; >= 5.6.0, < 5.6.13 [affected; scheme: unspecified]; >= 5.5.0, < 5.5.14 [affected; scheme: unspecified]; >= 5.4.0, < 5.4.15 [affected; scheme: unspecified]; >= 5.3.0, < 5.3.17 [affected; scheme: unspecified]; >= 5.2.0, < 5.2.20 [affected; scheme: unspecified]; >= 5.1.0, < 5.1.18 [affected; scheme: unspecified]; >= 5.0.0, < 5.0.21 [affected; scheme: unspecified]; >= 4.9.0, < 4.9.25 [affected; scheme: unspecified]; >= 4.8.0, < 4.8.24 [affected; scheme: unspecified]; >= 4.7.0, < 4.7.28 [affected; scheme: unspecified]; >= 4.6.0, < 4.6.28 [affected; scheme: unspecified]; >= 4.5.0, < 4.5.31 [affected; scheme: unspecified]; >= 4.4.0, < 4.4.32 [affected; scheme: unspecified]; >= 4.3.0, < 4.3.33 [affected; scheme: unspecified]; >= 4.2.0, < 4.2.37 [affected; scheme: unspecified]; < 4.1.40 [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.3+dfsg1-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "mantic"
},
{
"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": "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": "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.3"
},
{
"status": "affected",
"version": ">= 6.3.0, < 6.3.3"
},
{
"status": "affected",
"version": ">= 6.2.0, < 6.2.4"
},
{
"status": "affected",
"version": ">= 6.1.0, < 6.1.5"
},
{
"status": "affected",
"version": ">= 6.0.0, < 6.0.7"
},
{
"status": "affected",
"version": ">= 5.9.0, < 5.9.9"
},
{
"status": "affected",
"version": ">= 5.8.0, < 5.8.9"
},
{
"status": "affected",
"version": ">= 5.7.0, < 5.7.11"
},
{
"status": "affected",
"version": ">= 5.6.0, < 5.6.13"
},
{
"status": "affected",
"version": ">= 5.5.0, < 5.5.14"
},
{
"status": "affected",
"version": ">= 5.4.0, < 5.4.15"
},
{
"status": "affected",
"version": ">= 5.3.0, < 5.3.17"
},
{
"status": "affected",
"version": ">= 5.2.0, < 5.2.20"
},
{
"status": "affected",
"version": ">= 5.1.0, < 5.1.18"
},
{
"status": "affected",
"version": ">= 5.0.0, < 5.0.21"
},
{
"status": "affected",
"version": ">= 4.9.0, < 4.9.25"
},
{
"status": "affected",
"version": ">= 4.8.0, < 4.8.24"
},
{
"status": "affected",
"version": ">= 4.7.0, < 4.7.28"
},
{
"status": "affected",
"version": ">= 4.6.0, < 4.6.28"
},
{
"status": "affected",
"version": ">= 4.5.0, < 4.5.31"
},
{
"status": "affected",
"version": ">= 4.4.0, < 4.4.32"
},
{
"status": "affected",
"version": ">= 4.3.0, < 4.3.33"
},
{
"status": "affected",
"version": ">= 4.2.0, < 4.2.37"
},
{
"status": "affected",
"version": "< 4.1.40"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-31210",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2024-04-05T13:59:35.660459Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:wordpress:wordpress-develop:*:*:*:*:*:*:*:*"
],
"vendor": "wordpress",
"product": "wordpress-develop",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "6.4.3",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-07-31T19:47:42.302Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x79f-xrjv-jx5r",
"name": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x79f-xrjv-jx5r",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T01:46:04.580Z"
}
}
]
}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.3+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.839ZArchived source JSON
Source publication: 2024-04-04T22:59:28.955Z
Source modification: 2024-08-02T01:46:04.580ZDocument fingerprint
eda95b12ad8c62f685d4c6b003e31c77700eb7f12eed827ac3716546dd300bf7 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - 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 - FIRST EPSSConsulted: 2026-11-19T16:04:38.218ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
55a64ee9ca0f1d908a48c56be557bd1ef72d684d2b38b659335bfacedc0274cc
Official status history
- UNKNOWN → PUBLISHED · · evidence