CVE-2024-31210: 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 -> Up

high Affects WordPress core. Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified .

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 -> Up

Package
WordPress core WordPress
Affected versions
<4.1.40 or >=4.2 and <4.2.37 or >=4.3 and <4.3.33 or >=4.4 and <4.4.32 or >=4.5 and <4.5.31 or >=4.6 and <4.6.28 or >=4.7 and <4.7.28 or >=4.8 and <4.8.24 or >=4.9 and <4.9.25 or >=5.0 and <5.0.21 or >=5.1 and <5.1.18 or >=5.2 and <5.2.20 or >=5.3 and <5.3.17 or >=5.4 and <5.4.15 or >=5.5 and <5.5.14 or >=5.6 and <5.6.13 or >=5.7 and <5.7.11 or >=5.8 and <5.8.9 or >=5.9 and <5.9.9 or >=6.0 and <6.0.7 or >=6.1 and <6.1.5 or >=6.2 and <6.2.4 or >=6.3 and <6.3.3 or >=6.4.0 and <6.4.3
Fixed in
4.1.40, 4.2.37, 4.3.33, 4.4.32, 4.5.31, 4.6.28, 4.7.28, 4.8.24, 4.9.25, 5.0.21, 5.1.18, 5.2.20, 5.3.17, 5.4.15, 5.5.14, 5.6.13, 5.7.11, 5.8.9, 5.9.9, 6.0.7, 6.1.5, 6.2.4, 6.3.3, 6.4.3
Severity
high  CVSS 7.6
Exploitation
not on CISA KEV · EPSS 1% (63.5th percentile)
Published
2024-04-04
Source
nvd

References

CWE-434
NVD recordWordPress core advisories

Quick answers

Is CVE-2024-31210 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes CVE-2024-31210?

WordPress core: 4.1.40, 4.2.37, 4.3.33.

How do I check whether I am affected?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories