Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-31210

HIGH 7.7EPSS 61%

PHP file upload bypass via Plugin installer

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running 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; …

Vulnerability facts

Affected
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; …
Fixed in
wordpress-develop 6.4.3, wordpress-develop 6.3.3, wordpress-develop 6.2.4, wordpress-develop 6.1.5, wordpress-develop 6.0.7, wordpress-develop 5.9.9, wordpress-develop 5.8.9, wordpress-develop 5.7.11, wordpress-develop 5.6.13, wordpress-develop 5.5.14
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: High
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.98% chance of exploitation in 30 days (percentile 61, 2026-11-26)
CWE
CWE-434
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
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; …—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-31210. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-31210.md
Affected: 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; …
Fixed in: wordpress-develop 6.4.3, wordpress-develop 6.3.3, wordpress-develop 6.2.4, wordpress-develop 6.1.5, wordpress-develop 6.0.7, wordpress-develop 5.9.9, wordpress-develop 5.8.9, wordpress-develop 5.7.11, wordpress-develop 5.6.13, wordpress-develop 5.5.14

Steps:
1. Search this machine and project for wordpress-develop: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-31210 being exploited?

There is no confirmed exploitation: CVE-2024-31210 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-31210?

High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-31210?

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; ….

Is there a fix for CVE-2024-31210?

Yes. Fixed in wordpress-develop 6.4.3, wordpress-develop 6.3.3, wordpress-develop 6.2.4, wordpress-develop 6.1.5, wordpress-develop 6.0.7, wordpress-develop 5.9.9, wordpress-develop 5.8.9, wordpress-develop 5.7.11, wordpress-develop 5.6.13, wordpress-develop 5.5.14. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-31210?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors