CVE Explorer
CVE-2026-27142
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
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":"tTag"},{"name":"escaper.escapeAction"},{"name":"Template.Execute"},{"name":"Template.ExecuteTemplate"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.8","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.1","status":"affected","version":"1.26.0-0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /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:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /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:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://go.dev/cl/752081"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /containers/cna/references/2
{"url":"https://go.dev/issue/77954"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /containers/cna/references/1
{"url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /containers/cna/references/0
{"url":"https://pkg.go.dev/vuln/GO-2026-4603"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d45b6044e35c481d8b89246388b1275e6b1f6deb2e185a96ee8be7f81f57ca49 · sha256:4485a697979a7f56… · /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.