{"id":"CVE-2026-39823","revision":"7d722c9114534326bafdc7b163ba58ea","records":[{"revision":"7d722c9114534326bafdc7b163ba58ea","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-39823","aliases":[],"title":"Bypass of meta content URL escaping causes XSS in html/template","description":"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.","state":0,"publishedAt":"2026-05-07T19:41:19.524+00:00","modifiedAt":"2026-05-08T14:05:55.152+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"html/template","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"html/template\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"html/template\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.25.10\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.26.0-0\",\n                            \"lessThan\": \"1.26.3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"tMetaContent\"\n                        },\n                        {\n                            \"name\": \"Template.Execute\"\n                        },\n                        {\n                            \"name\": \"Template.ExecuteTemplate\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/issue/78913","https://go.dev/cl/769920","https://groups.google.com/g/golang-announce/c/qcCIEXso47M","https://pkg.go.dev/vuln/GO-2026-4982"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-39823","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-39823","identifiers":["CVE-2026-39823"]},"retained":false,"historicalAffected":[]}],"coverage":[]}