medium 6.1
EPSS 0.31%
GO-2026-6091: Fix Javascript regexp context tracking in html/template
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google stdlib
https://osv.dev/vulnerability/GO-2026-6091 ↗
osvgofix-available
Fix Javascript regexp context tracking in html/template Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS. Affected: Go:stdlib Fixed in: 1.25.13, 1.26.6, 1.27.0-rc.3 References: https://go.dev/issue/80435 https://go.dev/cl/807100 https://groups.google.com/g/golang-announce/c/94pEornpRlI