CVE Explorer
CVE-2026-39826
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"html/template","product":"html/template","programRoutines":[{"name":"isJSType"},{"name":"Template.Execute"},{"name":"Template.ExecuteTemplate"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.10","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.3","status":"affected","version":"1.26.0-0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://go.dev/cl/771180"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/cna/references/1
{"url":"https://go.dev/issue/78981"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/cna/references/0
{"url":"https://groups.google.com/g/golang-announce/c/qcCIEXso47M"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/cna/references/2
{"url":"https://pkg.go.dev/vuln/GO-2026-4980"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fa190812d40f94eea2b9821a6a15d20412760dcda60cb85cef7bdfb714b5f8ba · sha256:b0199f51a3a26da7… · /containers/cna/references/3
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.