{"dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": {"cveId": "CVE-2026-56858", "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc", "state": "PUBLISHED", "assignerShortName": "Go", "dateReserved": "2026-06-23T15:10:49.353Z", "datePublished": "2026-08-13T21:58:53.354Z", "dateUpdated": "2026-08-14T15:32:29.852Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc", "shortName": "Go", "dateUpdated": "2026-08-13T21:58:53.354Z"}, "title": "Fix Javascript regexp context tracking in html/template", "descriptions": [{"lang": "en", "value": "Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS."}], "affected": [{"vendor": "Go standard library", "product": "html/template", "collectionURL": "https://pkg.go.dev", "packageName": "html/template", "versions": [{"version": "0", "lessThan": "1.25.13", "status": "affected", "versionType": "semver"}, {"version": "1.26.0-0", "lessThan": "1.26.6", "status": "affected", "versionType": "semver"}, {"version": "1.27.0-0", "lessThan": "1.27.0-rc.3", "status": "affected", "versionType": "semver"}], "programRoutines": [{"name": "tJS"}, {"name": "Template.Execute"}, {"name": "Template.ExecuteTemplate"}], "defaultStatus": "unaffected"}], "problemTypes": [{"descriptions": [{"lang": "en", "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}], "references": [{"url": "https://go.dev/issue/80435"}, {"url": "https://go.dev/cl/807100"}, {"url": "https://groups.google.com/g/golang-announce/c/94pEornpRlI"}, {"url": "https://pkg.go.dev/vuln/GO-2026-6091"}], "credits": [{"lang": "en", "value": "Ali Sherif"}], "x_gcve": [{"vulnId": "CVE-2026-56858", "recordType": "advisory"}]}, "adp": [{"problemTypes": [{"descriptions": [{"type": "CWE", "cweId": "CWE-79", "lang": "en", "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}], "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": {"timestamp": "2026-08-14T15:31:30.140536Z", "id": "CVE-2026-56858", "options": [{"Exploitation": "none"}, {"Automatable": "no"}, {"Technical Impact": "partial"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-14T15:32:29.852Z"}}]}, "vulnerability-lookup:meta": {"epss": {"cve": "CVE-2026-56858", "date": "2026-10-22", "epss": "0.0031", "percentile": "0.22555"}, "microsoft_vex": {"current_release_date": "2026-09-17T01:54:55.000Z", "cve": "CVE-2026-56858", "id": "msrc_CVE-2026-56858", "initial_release_date": "2026-08-20T22:02:44.000Z", "product_status:known_affected": "4", "product_status:known_not_affected": "1", "source": "Microsoft CSAF VEX", "status": "final", "title": "Fix Javascript regexp context tracking in html/template", "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-56858.json", "version": "5"}, "nvd": "{\"cve\":{\"id\":\"CVE-2026-56858\",\"sourceIdentifier\":\"security@golang.org\",\"published\":\"2026-08-13T22:17:22.207\",\"lastModified\":\"2026-09-03T16:37:52.170\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.\"}],\"affected\":[{\"source\":\"security@golang.org\",\"affectedData\":[{\"vendor\":\"Go standard library\",\"product\":\"html/template\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://pkg.go.dev\",\"packageName\":\"html/template\",\"programRoutines\":[{\"name\":\"tJS\"},{\"name\":\"Template.Execute\"},{\"name\":\"Template.ExecuteTemplate\"}],\"versions\":[{\"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\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":2.7}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-14T15:31:30.140536Z\",\"id\":\"CVE-2026-56858\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"references\":[{\"url\":\"https://go.dev/cl/807100\",\"source\":\"security@golang.org\"},{\"url\":\"https://go.dev/issue/80435\",\"source\":\"security@golang.org\"},{\"url\":\"https://groups.google.com/g/golang-announce/c/94pEornpRlI\",\"source\":\"security@golang.org\"},{\"url\":\"https://pkg.go.dev/vuln/GO-2026-6091\",\"source\":\"security@golang.org\"}]}}", "redhat_vex": {"aggregate_severity": "Important", "current_release_date": "2026-10-22T05:15:22+00:00", "cve": "CVE-2026-56858", "id": "CVE-2026-56858", "initial_release_date": "2026-08-13T21:58:53.354000+00:00", "product_status:fixed": "7236", "product_status:known_affected": "172", "product_status:known_not_affected": "3773", "source": "Red Hat CSAF VEX", "status": "final", "title": "html/template: golang: Go html/template: Cross-Site Scripting via pathological input", "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-56858.json", "version": "3"}, "vulnrichment": {"containers": "{\"cna\": {\"providerMetadata\": {\"orgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"shortName\": \"Go\", \"dateUpdated\": \"2026-08-13T21:58:53.354Z\"}, \"title\": \"Fix Javascript regexp context tracking in html/template\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.\"}], \"affected\": [{\"vendor\": \"Go standard library\", \"product\": \"html/template\", \"collectionURL\": \"https://pkg.go.dev\", \"packageName\": \"html/template\", \"versions\": [{\"version\": \"0\", \"lessThan\": \"1.25.13\", \"status\": \"affected\", \"versionType\": \"semver\"}, {\"version\": \"1.26.0-0\", \"lessThan\": \"1.26.6\", \"status\": \"affected\", \"versionType\": \"semver\"}, {\"version\": \"1.27.0-0\", \"lessThan\": \"1.27.0-rc.3\", \"status\": \"affected\", \"versionType\": \"semver\"}], \"programRoutines\": [{\"name\": \"tJS\"}, {\"name\": \"Template.Execute\"}, {\"name\": \"Template.ExecuteTemplate\"}], \"defaultStatus\": \"unaffected\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\"}]}], \"references\": [{\"url\": \"https://go.dev/issue/80435\"}, {\"url\": \"https://go.dev/cl/807100\"}, {\"url\": \"https://groups.google.com/g/golang-announce/c/94pEornpRlI\"}, {\"url\": \"https://pkg.go.dev/vuln/GO-2026-6091\"}], \"credits\": [{\"lang\": \"en\", \"value\": \"Ali Sherif\"}]}, \"adp\": [{\"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:20.906Z\"}}]}", "cveMetadata": "{\"cveId\": \"CVE-2026-56858\", \"assignerOrgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"Go\", \"dateReserved\": \"2026-06-23T15:10:49.353Z\", \"datePublished\": \"2026-08-13T21:58:53.354Z\", \"dateUpdated\": \"2026-08-14T15:32:29.852Z\"}", "dataType": "CVE_RECORD", "dataVersion": "5.2"}}}
