MediumFix available
Recognize yield as regexp preceder keyword in html/template
Type: advisorySources: OSV
A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.
- Products
- golang
- Affected versions
- Not specified
- Fixed versions
- 1.26.9, 1.27.2
- CVEs
- CVE-2026-97030
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 20:01 UTC · Revision 1
Source evidence
Recognize yield as regexp preceder keyword in html/template
core-osv · Original sourcePublished 16 Oct 2026, 08:40 UTC
A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.
osv:BIT-golang-2026-97030
golang
Fixed versions: 1.26.9, 1.27.2
Complete source record
{
"id": "f6adccad63eff37ff99e82ec866bb406fb8e7cae27154eda244d8cd2d6cf23d5",
"url": "https://osv.dev/vulnerability/BIT-golang-2026-97030",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Recognize yield as regexp preceder keyword in html/template",
"summary": "A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.",
"evidence": "osv:BIT-golang-2026-97030",
"products": [
{
"name": {
"value": "golang",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.26.9",
"evidence": "/affected/0/ranges"
},
{
"value": "1.27.2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "BIT-golang-2026-97030",
"aliases": [
"BIT-golang-2026-97030",
"CVE-2026-97030",
"GO-2026-6600"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.26.9"
},
{
"introduced": "1.27.0-0"
},
{
"fixed": "1.27.2"
}
]
}
],
"package": {
"name": "golang",
"purl": "pkg:bitnami/golang",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2026-97030.json"
}
}
],
"modified": "2026-10-16T09:55:33.023061580Z",
"provider": "osv",
"references": [
"https://go.dev/cl/840925",
"https://go.dev/issue/81823",
"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI",
"https://nvd.nist.gov/vuln/detail/CVE-2026-97030",
"https://pkg.go.dev/vuln/GO-2026-6600"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
],
"severity": "Medium"
}
},
"related_cves": [
{
"value": "CVE-2026-97030",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 338673,
"published_at": "2026-10-16T08:40:14.207+00:00"
}