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 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | html/template | < 1.19.9; >= 1.20.0-0, < 1.20.4 |
References
- https://go.dev/cl/491616Patch
- 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/cl/491616Patch
- 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://security.netapp.com/advisory/ntap-20241115-0008/
Timeline
- Published
- May 11, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified