CVE-2021-33496 Cross-site scripting in Dutchcoders transfer.sh
An attacker can execute arbitrary scripts in the victim's browser via an inline view in the transfer.sh file sharing service.
- 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-33496?
CVE-2021-33496 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 May 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
Dutchcoders transfer.sh before 1.2.4 allows XSS via an inline view.
Weakness: CWE-79
Which versions are affected by CVE-2021-33496?
3 open source packages ship an affected version, including github.com/dutchcoders/transfer.sh. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/dutchcoders/transfer.sh Go | All versions | 1.2.4 |
github.com/dutchcoders/transfer.sh Go | All versions | 1.2.4 |
github.com/dutchcoders/transfer.sh Go | All versions | 1.2.4 |
Products include Dutchcoders Transfer.sh.
How do I fix CVE-2021-33496?
Upgrade github.com/dutchcoders/transfer.sh to 1.2.4 or later.
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-33496 being exploited?
There is no known exploitation of CVE-2021-33496 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w3jx-wv97-67ph, GO-2022-0924.