| Name | CVE-2026-32289 |
| Description | Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | vulnerable |
| golang-1.19 (PTS) | bookworm | 1.19.8-2 | vulnerable |
| golang-1.24 (PTS) | trixie | 1.24.4-1 | vulnerable |
| forky, sid | 1.24.13-2 | vulnerable | |
| golang-1.25 (PTS) | forky | 1.25.8-1 | vulnerable |
| sid | 1.25.9-1 | fixed | |
| golang-1.26 (PTS) | forky | 1.26.1-1 | vulnerable |
| sid | 1.26.2-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.15 | source | (unstable) | (unfixed) | |||
| golang-1.19 | source | (unstable) | (unfixed) | |||
| golang-1.24 | source | (unstable) | (unfixed) | |||
| golang-1.25 | source | (unstable) | 1.25.9-1 | |||
| golang-1.26 | source | (unstable) | 1.26.2-1 |
https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
https://github.com/golang/go/issues/78331
Fixed by: https://github.com/golang/go/commit/babb1c32c2e7ee7a1147e7e587d35c553fb693ad (go1.26.2)
Fixed by: https://github.com/golang/go/commit/3ed316924408a02b256544eb40607e73702f2d0c (go1.25.9)