{"id":"CVE-2026-39823","aliases":["CVE-2026-39823","GO-2026-4982","BIT-GOLANG-2026-39823"],"related":["RHSA-2026:22112","RHSA-2026:22120","RHSA-2026:22121","RHSA-2026:23262","RHSA-2026:23264","RHSA-2026:49702","RHSA-2026:49712","RHSA-2026:57649","RHSA-2026:61253"],"kind":"vulnerability","state":"published","title":"Bypass of meta content URL escaping causes XSS in html/template","summary":"CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.","source":"cvelist"},{"lang":"es","text":"CVE-2026-27142 corrigió una vulnerabilidad en la que las URL no se escapaban correctamente dentro del atributo [content] de una etiqueta [meta]. Si el contenido de la URL insertara espacios en blanco ASCII alrededor del carácter ’=’ dentro del atributo [content], el mecanismo de escape no lograría escaparlo de manera similar, lo que llevaría a XSS.","source":"nvd"}],"published":"2026-05-07T19:21:40.000Z","modified":"2026-11-23T21:12:29.326Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.25.10","status":"affected"},{"type":"semver","introduced":"1.26.0-0","fixed":"1.26.3","status":"affected"}],"vendor":"Go standard library","product":"html/template","package":"html/template","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.10"},{"type":"semver","introduced":"1.26.0-0","status":"affected","fixed":"1.26.3"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.25.10"},{"status":"affected","introduced":"1.26.0","fixed":"1.26.3"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.10"},{"type":"semver","introduced":"1.26.0-0","status":"affected","fixed":"1.26.3"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/issue/78913","tags":["issue-tracking","report"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/769920","tags":["fix","patch"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/qcCIEXso47M","tags":["article","release-notes","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4982","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39823","tags":["web"],"sources":["bitnami"]}],"credits":["Samy Ghannad"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-08T14:05:34.310Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39823","url":"https://www.cve.org/CVERecord?id=CVE-2026-39823","licence":"CVE Terms of Use","modified":"2026-05-08T14:05:55.152Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4982","url":"https://pkg.go.dev/vuln/GO-2026-4982","licence":"CC-BY-4.0","modified":"2026-11-23T21:12:29.326Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39823","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39823","licence":"Public domain","modified":"2026-10-26T20:10:00.160Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2026-39823","url":"https://osv.dev/vulnerability/BIT-GOLANG-2026-39823","licence":"Apache-2.0","modified":"2026-09-08T08:47:49.990Z"}],"updatedAt":"2026-11-25T22:59:20.915Z","epss":{"score":0.00314,"percentile":0.26285,"date":"2026-12-01T12:00:22.000Z"}}