Vulnerability CVE-2023-39318: Information
Description
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
Severity: MEDIUM (6.1) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
golang | sisyphus | 1.21.1-alt1 | 1.22.3-alt1 | ALT-PU-2023-5463-1 | 328866 | Fixed |
golang | sisyphus_riscv64 | 1.21.1-alt0.port | 1.22.2-alt1 | ALT-PU-2023-5614-1 | - | Fixed |
golang | p10 | 1.20.8-alt1 | 1.21.9-alt1 | ALT-PU-2023-5464-2 | 328867 | Fixed |
golang | c10f1 | 1.20.8-alt1 | 1.21.9-alt1 | ALT-PU-2023-5492-2 | 328868 | Fixed |
golang | c9f2 | 1.20.11-alt1 | 1.20.11-alt1 | ALT-PU-2023-7055-2 | 333913 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ |
|
https://pkg.go.dev/vuln/GO-2023-2041 |
|
https://go.dev/cl/526156 |
|
https://go.dev/issue/62196 |
|
https://security.netapp.com/advisory/ntap-20231020-0009/ |
|
https://security.gentoo.org/glsa/202311-09 |