MEDIUM6.1
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.13Details
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
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/stdlib"]}'