CVE-2021-23673 Cross-site Scripting (XSS)
An attacker can execute arbitrary JavaScript in a victim's browser by inducing them to upload a file with a malicious filename in the pekeupload library.
- 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
- None listed
What is CVE-2021-23673?
CVE-2021-23673 is a medium-severity cross-site scripting vulnerability in pekeupload, published on 22 Nov 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 all versions of package pekeupload. If an attacker induces a user to upload a file whose name contains javascript code, the javascript code will be executed.
Weakness: CWE-79
Which versions are affected by CVE-2021-23673?
2 open source packages ship an affected version, including pekeupload. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pekeupload npm | All versions to 2.1.1 | None |
pekeupload npm | All versions to 2.1.1 | None |
Products include Pekeupload Project Pekeupload.
How do I fix CVE-2021-23673?
No fix has been published for CVE-2021-23673 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-23673 being exploited?
There is no known exploitation of CVE-2021-23673 in the wild and no public exploit code.
Sources
Also known as GHSA-89q5-mj78-pw5w.