CVE-2023-24540
Last modified
CVE-2023-24540 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.55% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.19.9 |
| Golang | Go | >= 1.20.0, < 1.20.4 |
References
- https://go.dev/issue/59721Issue Tracking, Patch
- https://groups.google.com/g/golang-announce/c/MEb0UyuSMsUMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2023-1752Vendor Advisory
- https://go.dev/issue/59721Issue Tracking, Patch
- https://groups.google.com/g/golang-announce/c/MEb0UyuSMsUMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2023-1752Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-24540?
How severe is CVE-2023-24540?
How do I fix CVE-2023-24540?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-24535Parsing invalid messages can panic. Parsing a text-format me…7.5
- CVE-2023-24536Multipart form parsing can consume large amounts of CPU and …7.5
- CVE-2023-24537Calling any of the Parse functions on Go source code which c…7.5
- CVE-2023-24538Templates do not properly consider backticks (`) as Javascri…9.8
- CVE-2023-24539Angle brackets (<>) are not considered dangerous characters …7.3
- CVE-2023-2454schema_element defeats protective search_path changes; It wa…7.2
- CVE-2023-24542Unquoted search path or element in some Intel(R) Thunderbolt…6.7
- CVE-2023-24544Improper access control vulnerability in Buffalo network dev…8.1
- CVE-2023-24545On affected platforms running Arista CloudEOS an issue in th…7.5
- CVE-2023-24546On affected versions of the CloudVision Portal improper acce…8.1
- CVE-2023-24547On affected platforms running Arista MOS, the configuration …6.5
- CVE-2023-24548On affected platforms running Arista EOS with VXLAN configur…6.5
Are you affected by CVE-2023-24540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
