GO-2026-6091

Source
https://pkg.go.dev/vuln/GO-2026-6091
Import Source
https://vuln.go.dev/ID/GO-2026-6091.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6091
Aliases
Downstream
CGA (9124)
MINI (2118)
Related
Published
2026-08-13T21:43:54Z
Modified
2026-09-23T10:41:39Z
Summary
Fix Javascript regexp context tracking in html/template
Details

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

Database specific
{
    "review_status":  "REVIEWED",
    "url":  "https://pkg.go.dev/vuln/GO-2026-6091"
}
References
Credits
    • Ali Sherif

Affected packages

Go / stdlib

Package

Name
stdlib
View open source insights on deps.dev
Purl
pkg:golang/stdlib

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.25.13
Introduced
1.26.0-0
Fixed
1.26.6
Introduced
1.27.0-0
Fixed
1.27.0-rc.3

Ecosystem specific

{
    "imports":  [
        {
            "path":  "html/template",
            "symbols":  [
                "Template.Execute",
                "Template.ExecuteTemplate",
                "tJS"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6091.json"