CVE-2021-24236: The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks fo
CVE-2021-24236 is a critical-severity flaw (CVSS 9.8) affecting imagements. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.
Why this priority
- Critical severity
- EPSS top 6%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 7.3% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2021-05-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: WordPress Imagements <=1.2.5 - Arbitrary File Upload
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-24236?
imagements: upgrade to newer than 1.2.5. Exact commands for each OS are on this page.
Is CVE-2021-24236 being exploited?
CVE-2021-24236 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-24236 affect?
CVE-2021-24236 affects imagements. Severity is critical (CVSS 9.8). The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by us
How urgent is CVE-2021-24236?
Priority 68/100. Critical severity; EPSS top 6%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
WordPress vulnerabilities · PHP vulnerabilities