CVE-2020-24553
mediumpriority · track · 25EPSS 0.036 · 90 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
- oracle communications cloud native core policy= 1.5.0nvdUScpe:2.3:a:oracle:communications_cloud_native_core_policy:*:*:*:*:*:*:*:*
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1599IBM Security Guardium: Mehrere SchwachstellenDeutsch2021-01-13csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in IBM Security Guardium ausnutzen, um beliebigen Programmcode auszuführen, Informationen offenzulegen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.
- BIT-golang-2020-245532024-03-06vendor · osvUS
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.
- GO-2021-0226Cross-site scripting in net/http/cgi and net/http/fcgi2022-01-13vendor · osvUS
When a Handler does not explicitly set the Content-Type header, the the package would default to “text/html”, which could cause a Cross-Site Scripting vulnerability if an attacker can control any part of the contents of a response. The Content-Type header is now set based on the contents of the first Write using http.DetectContentType, which is consistent with the behavior of the net/http package. Although this protects some applications that validate the contents of uploaded files, not setting the Content-Type header explicitly on any attacker-controlled file is unsafe and should be avoided.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202009-099cnnvd
- EUVD-2020-17273enisa_euvd
- GHSA-pfr3-j9r8-5229enisa_euvd
- BIT-golang-2020-24553osv
- GO-2021-0226osv
sources
Which sources assert this record, and when.
references (51)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00000.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00002.htmlcnnvd
- http://seclists.org/fulldisclosure/2020/Sep/5cnnvd
- https://groups.google.com/forum/#!topic/golang-announce/8wqlSbkLdPscnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CZBO7Q73GGWBVYIKNH2HNN44Q5IQND5W/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-24553cnnvd
- https://packetstormsecurity.com/files/159049/Go-CGI-FastCGI-Transport-Cross-Site-Scripting.htmlcnnvd
- https://packetstormsecurity.com/files/160526/Red-Hat-Security-Advisory-2020-5493-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan