Home / WordPress / wordpress-develop / CVE-2024-31210
CVE-2024-31210: is it exploited, and which versions of wordpress-develop are affected and fixed?
CVE-2024-31210 is an unrestricted file upload vulnerability in wordpress-develop. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: wordpress-develop >= 6.4.0, < 6.4.3, wordpress-develop >= 6.3.0, < 6.3.3, wordpress-develop >= 6.2.0, < 6.2.4 and 21 more (CVE record by GitHub_M). Fixed in 4.1.40, 4.2.37, 4.3.33, 4.4.32 and 2 more (NVD). Severity: High (7.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:30 UTC.
What is 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.
From the CVE record by GitHub_M, last updated August 2, 2024, 01:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| WordPress | wordpress-develop | >= 6.4.0, < 6.4.3 >= 6.3.0, < 6.3.3 >= 6.2.0, < 6.2.4 >= 6.1.0, < 6.1.5 >= 6.0.0, < 6.0.7 >= 5.9.0, < 5.9.9 >= 5.8.0, < 5.8.9 >= 5.7.0, < 5.7.11 >= 5.6.0, < 5.6.13 >= 5.5.0, < 5.5.14 >= 5.4.0, < 5.4.15 >= 5.3.0, < 5.3.17 and 12 more ranges |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wordpress | wordpress | before 4.1.40 | application |
| wordpress | wordpress | from 4.2 before 4.2.37 | application |
| wordpress | wordpress | from 4.3 before 4.3.33 | application |
| wordpress | wordpress | from 4.4 before 4.4.32 | application |
| wordpress | wordpress | from 4.5 before 4.5.31 | application |
| wordpress | wordpress | from 4.6 before 4.6.28 | application |
| wordpress | wordpress | from 4.7 before 4.7.28 | application |
| wordpress | wordpress | from 4.8 before 4.8.24 | application |
| wordpress | wordpress | from 4.9 before 4.9.25 | application |
| wordpress | wordpress | from 5.0 before 5.0.21 | application |
| wordpress | wordpress | from 5.1 before 5.1.18 | application |
| wordpress | wordpress | from 5.2 before 5.2.20 | application |
| wordpress | wordpress | from 5.3 before 5.3.17 | application |
| wordpress | wordpress | from 5.4 before 5.4.15 | application |
| wordpress | wordpress | from 5.5 before 5.5.14 | application |
| wordpress | wordpress | from 5.6 before 5.6.13 | application |
| wordpress | wordpress | from 5.7 before 5.7.11 | application |
| wordpress | wordpress | from 5.8 before 5.8.9 | application |
| wordpress | wordpress | from 5.9 before 5.9.9 | application |
| wordpress | wordpress | from 6.0 before 6.0.7 | application |
| wordpress | wordpress | from 6.1 before 6.1.5 | application |
| wordpress | wordpress | from 6.2 before 6.2.4 | application |
| wordpress | wordpress | from 6.3 before 6.3.3 | application |
| wordpress | wordpress | from 6.4.0 before 6.4.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:27 UTC.
How severe is CVE-2024-31210?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-31210 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 5, 2024)
- EPSS
- 1.00% probability of exploitation activity in the next 30 days, percentile 63.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-434 Unrestricted Upload of File with Dangerous Type
Where are the vendor advisories and references?
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x79f-xrjv-jx5r x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- March 29, 2024
- Published
- April 4, 2024, 22:59 UTC
- CVE record updated
- August 2, 2024, 01:46 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:27 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect wordpress-develop?
- Apr 4, 2024CVE-2024-31211 wordpress-develop: deserialization of untrusted data
- Jan 6, 2022CVE-2022-21662 wordpress-develop: cross-site scripting (XSS)
- Jan 6, 2022CVE-2022-21663 wordpress-develop: injection
- Jan 6, 2022CVE-2022-21664 wordpress-develop: SQL injection
- Jan 6, 2022CVE-2022-21661 wordpress-develop: SQL injection
- Sep 9, 2021CVE-2021-39203 wordpress-develop: information disclosure
- Sep 9, 2021CVE-2021-39202 wordpress-develop: cross-site scripting (XSS)
- Sep 9, 2021CVE-2021-39201 wordpress-develop: cross-site scripting (XSS)
Every CVE in wordpress-develop
Questions about CVE-2024-31210
Is CVE-2024-31210 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.00% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of wordpress-develop are affected by CVE-2024-31210?
wordpress-develop >= 6.4.0, < 6.4.3, wordpress-develop >= 6.3.0, < 6.3.3, wordpress-develop >= 6.2.0, < 6.2.4, wordpress-develop >= 6.1.0, < 6.1.5, wordpress-develop >= 6.0.0, < 6.0.7, wordpress-develop >= 5.9.0, < 5.9.9 and 18 more, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-31210?
4.1.40, 4.2.37, 4.3.33, 4.4.32, 4.5.31 and 4.6.28, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-31210?
High (7.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-31210?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.