CVE-2020-24553
MEDIUM 6.1CVSS 3.1Cross-site scripting in net/http/cgi and net/http/fcgi
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.
- Published
- 2 Sep 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-golang-2020-24553GO-2021-0226
- Sources
- NVDJSONOSV GO-2021-0226JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.14.8 | 1.14.8 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.15.0, < 1.15.1 | 1.15.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* |
= 15.2 | |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.5.0:*:*:*:*:*:*:* |
= 1.5.0 | |
| OSV | Go | stdlib | < 1.14.8; >= 1.15.0-0, < 1.15.1 | 1.14.8, 1.15.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00000.html · Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00002.html · Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/159049/Go-CGI-FastCGI-Transport-Cross-Site-Scripting.html · Exploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2020/Sep/5 · Exploit, Mailing List, Third Party Advisory
- https://groups.google.com/forum/#%21topic/golang-announce/8wqlSbkLdPs
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZBO7Q73GGWBVYIKNH2HNN44Q5IQND5W/
- https://security.netapp.com/advisory/ntap-20200924-0003/ · Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.html · Patch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html · Patch, Third Party Advisory
- https://www.redteam-pentesting.de/advisories/rt-sa-2020-004 · Exploit, Third Party Advisory
- https://go.dev/cl/252179 · FIX
- https://go.googlesource.com/go/+/4f5cd0c0331943c7ec72df3b827d972584f77833 · FIX
- https://groups.google.com/g/golang-announce/c/8wqlSbkLdPs · WEB
- https://go.dev/issue/40928 · REPORT
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Sep 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Jan 2022)