CVE-2023-39318

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.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GoCNA
---
---
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 20%
VendorProductVersion
golanggo
𝑥
< 1.20.8
golanggo
1.21.0 ≤
𝑥
< 1.21.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-1.15
bullseye
vulnerable
bookworm
no-dsa
buster
postponed
golang-1.19
bookworm
vulnerable
bullseye
no-dsa
buster
postponed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
golang-1.10
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needs-triage
xenial
needs-triage
trusty
ignored
golang-1.13
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
trusty
dne
golang-1.14
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
needs-triage
bionic
dne
xenial
dne
trusty
dne
golang-1.16
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
needs-triage
bionic
needs-triage
xenial
dne
trusty
dne
golang-1.17
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
Fixed 1.17.13-3ubuntu1.2
released
focal
dne
bionic
dne
xenial
dne
trusty
dne
golang-1.18
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
Fixed 1.18.1-1ubuntu1.2
released
focal
Fixed 1.18.1-1ubuntu1~20.04.3
released
bionic
Fixed 1.18.1-1ubuntu1~18.04.4+esm1
released
xenial
Fixed 1.18.1-1ubuntu1~16.04.6+esm1
released
trusty
dne
golang-1.19
oracular
dne
noble
dne
mantic
dne
lunar
ignored
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
golang-1.20
oracular
dne
noble
dne
mantic
not-affected
lunar
Fixed 1.20.3-1ubuntu0.2
released
jammy
Fixed 1.20.3-1ubuntu0.1~22.04.1
released
focal
Fixed 1.20.3-1ubuntu0.1~20.04.1
released
bionic
dne
xenial
dne
trusty
dne
golang-1.21
oracular
dne
noble
not-affected
mantic
not-affected
lunar
not-affected
jammy
not-affected
focal
not-affected
bionic
dne
xenial
dne
trusty
dne
golang-1.6
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
needs-triage
trusty
ignored
golang-1.8
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needs-triage
xenial
dne
trusty
dne
golang-1.9
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needs-triage
xenial
dne
trusty
dne