# CVE-2022-40931: Dutchoders transfer.sh contains an XSS vulnerability via malicious file upload

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-29T15:31:45.000Z
- Modified: 2026-06-17T05:02:15.593Z
- Also known as: GHSA-pwq7-f7f9-cm2j
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

dutchcoders Transfer.sh 1.4.0 is vulnerable to Cross Site Scripting (XSS).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/dutchcoders/transfer.sh (Go): up to 1.4.0
- dutchcoders transfer.sh: 1.4.0

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/dutchcoders/transfer.sh/issues/500> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/dutchcoders/transfer.sh/pull/501> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40931> (advisory)
- <https://github.com/dutchcoders/transfer.sh> (package)

## Sources

- CVE List: [CVE-2022-40931](https://www.cve.org/CVERecord?id=CVE-2022-40931), CVE Terms of Use, modified 2025-05-20
- GitHub Advisory Database: [GHSA-pwq7-f7f9-cm2j](https://github.com/advisories/GHSA-pwq7-f7f9-cm2j), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-40931](https://nvd.nist.gov/vuln/detail/CVE-2022-40931), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40931 · Whole record: https://cve.day/CVE-2022-40931.json · Rebuilt by cve.day 2026-11-25T22:58:15.373Z
