CVE-2023-39318
Improper handling of HTML-like comments in script contexts in html/template
Summary
Improper handling of HTML-like comments in script contexts in html/template
Original description
The description as published by the source.
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in contexts. This may cause the template parser to improperly interpret the contents of contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
Affected packages
Bitnami
golang
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.8"},{"introduced":"1.21.0"},{"fixed":"1.21.1"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2023-39318 golang-1.15
- Ubuntu UBUNTU-CVE-2023-39318 golang-1.10
References
- advisory security.gentoo.org
- advisory security.netapp.com
- advisory nvd.nist.gov
- advisory github.com
- web go.dev
- web go.dev
- web groups.google.com
- web pkg.go.dev
- web pkg.go.dev