VDB
KO

GO-2026-6091

Fix Javascript regexp context tracking in html/template

Quick fix

GO-2026-6091 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.25.13

Details

Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / stdlib
Introduced in: 0 Fixed in: 1.25.13
Fix go get stdlib@v1.25.13

References