Live threats

All CVEs / Golang

CVE-2020-24553Golang Go

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Sep 2, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.14.8 1.14.8 go get stdlib@v1.14.8
Go stdlib ≥ 1.15.0-0 < 1.15.1 1.15.1 go get stdlib@v1.15.1

Per OSV / GitHub Advisories (GO-2021-0226). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.14.8
golanggo≥ 1.15.0 < 1.15.1
fedoraprojectfedora33
opensuseleap15.1
opensuseleap15.2
oraclecommunications_cloud_native_core_policy1.5.0

Official sources

References

Links published by the sources. Open them with care.