Name | CVE-2023-39319 |
Description | The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang-1.11 (PTS) | buster | 1.11.6-1+deb10u4 | vulnerable |
buster (security) | 1.11.6-1+deb10u7 | vulnerable | |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | vulnerable |
golang-1.19 (PTS) | bookworm | 1.19.8-2 | vulnerable |
sid, trixie | 1.19.13-1 | vulnerable | |
golang-1.20 (PTS) | sid, trixie | 1.20.8-1 | fixed |
golang-1.21 (PTS) | sid, trixie | 1.21.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang-1.11 | source | (unstable) | (unfixed) | |||
golang-1.15 | source | (unstable) | (unfixed) | |||
golang-1.19 | source | (unstable) | (unfixed) | |||
golang-1.20 | source | (unstable) | 1.20.8-1 | |||
golang-1.21 | source | (unstable) | 1.21.1-1 |
[bookworm] - golang-1.19 <no-dsa> (Minor issue)
[bullseye] - golang-1.15 <no-dsa> (Minor issue)
https://go.dev/issue/62197
https://github.com/golang/go/commit/bbd043ff0d6d59f1a9232d31ecd5eacf6507bf6a (go1.21.1)
https://github.com/golang/go/commit/2070531d2f53df88e312edace6c8dfc9686ab2f5 (go1.20.8)
https://groups.google.com/g/golang-announce/c/Fm51GRLNRvM