# CVE-2026-94448: Reset context tracking on consecutive template expressions in html/template

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-10-08T22:31:09.000Z
- Modified: 2026-11-23T21:12:28.554Z
- Also known as: GO-2026-6599, BIT-GOLANG-2026-94448
- Related: RHSA-2026:86093, RHSA-2026:86196, RHSA-2026:86203, RHSA-2026:87040, RHSA-2026:87041, RHSA-2026:87042, RHSA-2026:87043, RHSA-2026:87245, RHSA-2026:87246, RHSA-2026:90994
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.

(As written by CVE List.)

## Affected

- html/template: before 1.26.9; from 1.27.0-0 before 1.27.2
- stdlib (Go): before 1.26.9; from 1.27.0-0 before 1.27.2
- golang (Bitnami): before 1.26.9; from 1.27.0-0 before 1.27.2

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/cl/839866> (fix, web)
- <https://go.dev/issue/81821> (report, web)
- <https://groups.google.com/g/golang-announce/c/U2fTuyDJznI> (web)
- <https://pkg.go.dev/vuln/GO-2026-6599> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-94448> (web)

## Sources

- CVE List: [CVE-2026-94448](https://www.cve.org/CVERecord?id=CVE-2026-94448), CVE Terms of Use, modified 2026-10-15
- Go Vulnerability Database: [GO-2026-6599](https://pkg.go.dev/vuln/GO-2026-6599), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-94448](https://nvd.nist.gov/vuln/detail/CVE-2026-94448), Public domain, modified 2026-10-15
- Bitnami Vulnerability Database: [BIT-GOLANG-2026-94448](https://osv.dev/vulnerability/BIT-GOLANG-2026-94448), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-94448 · Whole record: https://cve.day/CVE-2026-94448.json · Rebuilt by cve.day 2026-11-25T22:59:43.266Z
