GO-2023-1752
Improper handling of JavaScript whitespace in html/template
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2023-24540
- Alias
- BIT-golang-2023-24540
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.19.9, introduced 1.20.0-0, fixed 1.20.4 |
Références
- https://go.dev/issue/59721 REPORT
- https://go.dev/cl/491616 FIX
- https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |