CVE-2026-56858
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.310% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.1 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Assessment source · checked 2026-11-19T16:49:47.922Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T16:49:47.922Z | Ubuntu Security |
| epss | verified | 2026-11-19T18:27:26.304Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:39.236Z | OSV |
| affected | verified | 2026-11-19T12:58:53.409Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:53.409Z | CVE Program |
Affected versions and configuration
Go standard library html/template; default status: unaffected: 0 to < 1.25.13 [affected; scheme: semver]; 1.26.0-0 to < 1.26.6 [affected; scheme: semver]; 1.27.0-0 to < 1.27.0-rc.3 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.23",
"debian": "https://tracker.debian.org/pkg/golang-1.23",
"source": "https://ubuntu.com/security/cve?package=golang-1.23",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.22",
"debian": "https://tracker.debian.org/pkg/golang-1.22",
"source": "https://ubuntu.com/security/cve?package=golang-1.22",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go standard library",
"product": "html/template",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.25.13",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.26.0-0",
"lessThan": "1.26.6",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.27.0-0",
"lessThan": "1.27.0-rc.3",
"versionType": "semver"
}
],
"packageName": "html/template",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "tJS"
},
{
"name": "Template.Execute"
},
{
"name": "Template.ExecuteTemplate"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.1,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-56858",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-08-14T15:31:30.140536Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-08-14T15:32:29.852Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2026-6091",
"aliases": [
"BIT-golang-2026-56858",
"CVE-2026-56858"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.13"
},
{
"introduced": "1.26.0-0"
},
{
"fixed": "1.26.6"
},
{
"introduced": "1.27.0-0"
},
{
"fixed": "1.27.0-rc.3"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6091.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "html/template",
"symbols": [
"Template.Execute",
"Template.ExecuteTemplate",
"tJS"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/issue/80435",
"type": "REPORT"
},
{
"url": "https://go.dev/cl/807100",
"type": "FIX"
},
{
"url": "https://groups.google.com/g/golang-announce/c/94pEornpRlI",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-6091",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.25.13 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.26.6 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.27.0-rc.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:49:47.922ZArchived source JSON
Source publication: 2026-08-13T22:17:00.000Z
Source modification: 2026-08-19T12:26:39.015ZDocument fingerprint
8d8942fe6d2927007c17cb9cd4c8f68039c48474a993c5632d64e0e272281709 - OSVConsulted: 2026-11-19T12:52:39.236ZArchived source JSON
Source publication: 2026-08-13T21:43:54.000Z
Source modification: 2026-11-14T13:12:14.881ZDocument fingerprint
4ca7818b395ba1078372d8aa5d2c3c1d10796ecab94cc944cbdcb6a19ce4ed17 - Ubuntu SecurityConsulted: 2026-11-19T16:51:08.228ZArchived source JSON
Source publication: 2026-08-13T22:17:00.000Z
Source modification: 2026-08-19T12:26:39.015ZDocument fingerprint
0cbb923e15bf1b52355f517828f055c42cb870f3f7ace780baa39011c3e02dcb - CVE ProgramConsulted: 2026-11-19T12:58:53.409ZArchived source JSON
Source publication: 2026-08-13T21:58:53.354Z
Source modification: 2026-08-14T15:32:29.852ZDocument fingerprint
e6228d768e309b43ed585e6cdc50386f73939b6732e723e5a59a1dad835901cf - FIRST EPSSConsulted: 2026-11-19T18:27:26.304ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
21f069849e357d4747ca550e5471ae13c64747a0672fadff8d6b7a096c48b42e - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence