XSS in Golang Go
CVE-2020-24553
Go before 1.14.8 and 1.15.x before 1.15.1 allows XSS because text/html is the default for CGI/FCGI handlers that lack a Content-Type header.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.036, 89.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Oracle Communications Cloud Native Core Policy — versions 1.5.0
- Fedoraproject Fedora — versions 33
- openSUSE Leap — versions 15.1, 15.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (404notf0und/CVE-Flow, agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- 20200902 [RT-SA-2020-004] Inconsistent Behavior of Go's CGI and FastCGI Transport May Lead to Cross-Site Scripting (mailing-list, Exploit, Mailing List, Third Party Advisory)
- FEDORA-2020-741cfa13d0 (vendor-advisory)
- openSUSE-SU-2020:1584 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:1587 (vendor-advisory, Mailing List, Third Party Advisory)
- www.oracle.com/security-alerts/cpuApr2021.html (Patch, Third Party Advisory)
- groups.google.com/forum/
- packetstormsecurity.com/files/159049/Go-CGI-FastCGI-Transport-Cross-Site-Script… (Exploit, VDB Entry, Third Party Advisory)
- security.netapp.com/advisory/ntap-20200924-0003/ (Third Party Advisory)
- www.oracle.com//security-alerts/cpujul2021.html (Patch, Third Party Advisory)
- www.redteam-pentesting.de/advisories/rt-sa-2020-004 (Exploit, Third Party Advisory)