{"api_version":"1","generated_at":"2026-08-14T17:47:02+00:00","cve":"CVE-2026-56858","urls":{"html":"https://cve.report/CVE-2026-56858","api":"https://cve.report/api/cve/CVE-2026-56858.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-56858","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-56858"},"summary":{"title":"Fix Javascript regexp context tracking in html/template","description":"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.","state":"PUBLISHED","assigner":"Go","published_at":"2026-08-13 22:17:22","updated_at":"2026-08-14 16:16:57"},"problem_types":["CWE-79","CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"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"}}],"references":[{"url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI","name":"https://groups.google.com/g/golang-announce/c/94pEornpRlI","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/issue/80435","name":"https://go.dev/issue/80435","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/cl/807100","name":"https://go.dev/cl/807100","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://pkg.go.dev/vuln/GO-2026-6091","name":"https://pkg.go.dev/vuln/GO-2026-6091","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56858","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56858","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Go standard library","product":"html/template","version":"affected 1.25.13 semver","platforms":[]},{"source":"CNA","vendor":"Go standard library","product":"html/template","version":"affected 1.26.0-0 1.26.6 semver","platforms":[]},{"source":"CNA","vendor":"Go standard library","product":"html/template","version":"affected 1.27.0-0 1.27.0-rc.3 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Ali Sherif","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-56858","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-08-14T15:31:30.140536Z","version":"2.0.3"},"type":"ssvc"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-14T15:32:29.852Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"html/template","product":"html/template","programRoutines":[{"name":"tJS"},{"name":"Template.Execute"},{"name":"Template.ExecuteTemplate"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.13","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.6","status":"affected","version":"1.26.0-0","versionType":"semver"},{"lessThan":"1.27.0-rc.3","status":"affected","version":"1.27.0-0","versionType":"semver"}]}],"credits":[{"lang":"en","value":"Ali Sherif"}],"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."}],"problemTypes":[{"descriptions":[{"description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-08-13T21:58:53.354Z","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go"},"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"}],"title":"Fix Javascript regexp context tracking in html/template"}},"cveMetadata":{"assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","assignerShortName":"Go","cveId":"CVE-2026-56858","datePublished":"2026-08-13T21:58:53.354Z","dateReserved":"2026-06-23T15:10:49.353Z","dateUpdated":"2026-08-14T15:32:29.852Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-13 22:17:22","lastModifiedDate":"2026-08-14 16:16:57","problem_types":["CWE-79","CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"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"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"56858","Ordinal":"1","Title":"Fix Javascript regexp context tracking in html/template","CVE":"CVE-2026-56858","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"56858","Ordinal":"1","NoteData":"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.","Type":"Description","Title":"Fix Javascript regexp context tracking in html/template"}]}}}