Critical severity · published May 11, 2023
CVE-2023-24540
Not all valid JavaScript whitespace characters are considered to be whitespace
9.8
CVSS
1.6%
EPSS
No
On KEV
Description
Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 75% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
GO · Golang
before 1.19.9; 1.20.0 before 1.20.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-24540
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-24540
Patch
https://go.dev/cl/491616
Issue Tracking
https://go.dev/issue/59721
Mailing List
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
Vendor Advisory
https://pkg.go.dev/vuln/GO-2023-1752
security.netapp.com
https://security.netapp.com/advisory/ntap-20241115-0008/
More from GO
8.1
CVE-2020-0601
Microsoft Windows CryptoAPI Spoofing Vulnerability
7.5
CVE-2023-44487
HTTP/2 Rapid Reset Attack Vulnerability
10.0
CVE-2025-68121
Unexpected session resumption in crypto/tls
9.8
CVE-2026-27143
Missing bound checks can lead to memory corruption in safe Go in cmd/compile
9.8
CVE-2024-24790
The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their…
