UBUNTU-CVE-2023-39318
Dashboard / Vulnerabilities / UBUNTU-CVE-2023-39318
UBUNTU-CVE-2023-39318
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2023-39318, https://go.dev/issue/62196, https://github.com/golang/go/commit/b0e1d3ea26e8e8fce7726690c9ef0597e60739fb, https://github.com/golang/go/commit/023b542edf38e2a1f87fcefb9f75ff2f99401b4c, https://groups.google.com/g/golang-announce/c/Fm51GRLNRvM, 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://ubuntu.com/security/notices/USN-6574-1, https://www.cve.org/CVERecord?id=CVE-2023-39318, https://ubuntu.com/security/notices/USN-7061-1, https://ubuntu.com/security/notices/USN-7109-1
Affected packages
Package
Name: golang-1.10
Purl: pkg:deb/ubuntu/golang-1.10?arch=source&distro=trusty
Affected ranges
Type: ECOSYSTEM
Events:
