CVE-2022-40931 Dutchoders transfer.sh contains an XSS vulnerability via malicious file upload
Cross-site scripting vulnerability in Transfer.sh allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- 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-2022-40931?
CVE-2022-40931 is a medium-severity cross-site scripting vulnerability in n/a, published on 29 Sep 2022. 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 1.4.0 is vulnerable to Cross Site Scripting (XSS).
Weakness: CWE-79
Which versions are affected by CVE-2022-40931?
2 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 to 1.4.0 | None |
github.com/dutchcoders/transfer.sh Go | All versions to 1.4.0 | None |
Products include Dutchcoders Transfer.sh.
How do I fix CVE-2022-40931?
No fix has been published for CVE-2022-40931 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-2022-40931 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40931 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pwq7-f7f9-cm2j.