CVE-2021-23562 Arbitrary File Upload
An attacker can upload a malicious file with JavaScript in its name to execute arbitrary code if a user is tricked into uploading it.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-23562?
CVE-2021-23562 is a medium-severity vulnerability in plupload, published on 3 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
This affects the package plupload before 2.3.9. A file name containing JavaScript code could be uploaded and run. An attacker would need to trick a user to upload this kind of file.
Weakness: CWE-434
Which versions are affected by CVE-2021-23562?
2 open source packages ship an affected version, including plupload. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
plupload npm | All versions | 2.3.9 |
plupload npm | All versions | 2.3.9 |
Products include Tiny Plupload.
How do I fix CVE-2021-23562?
Upgrade plupload to 2.3.9 or later.
Is CVE-2021-23562 being exploited?
There is no known exploitation of CVE-2021-23562 in the wild and no public exploit code.
Sources
Also known as GHSA-rp2c-jrgp-cvr8, UBUNTU-CVE-2021-23562.