{"id":"CVE-2026-42506","aliases":["CVE-2026-42506","GO-2026-5025"],"related":["CGA-c62r-25jr-fmqg"],"kind":"vulnerability","state":"published","title":"Invoking  incorrect handling of namespaced elements in foreign content in golang.org/x/net/html","summary":"Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.","source":"cvelist"},{"lang":"es","text":"Parsear HTML arbitrario que luego es renderizado usando Render puede resultar en un árbol HTML inesperado. Esto puede ser aprovechado para ejecutar ataques XSS en aplicaciones que intentan sanear el HTML de entrada antes de renderizar.","source":"nvd"}],"published":"2026-05-22T02:46:43.000Z","modified":"2026-07-23T16:10:00.137Z","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"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.55.0","status":"affected"}],"vendor":"golang.org/x/net","product":"golang.org/x/net/html","package":"golang.org/x/net/html","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.55.0"}],"ecosystem":"Go","package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"go"},{"ranges":[{"status":"affected","fixed":"0.55.0"}],"vendor":"golang","product":"net","cpe":"cpe:2.3:a:golang:net:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://go.dev/issue/79571","tags":["issue-tracking","report"],"sources":["cvelist","go","nvd"]},{"url":"https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8","tags":["mailing-list","web"],"sources":["cvelist","go","nvd"]},{"url":"https://go.dev/cl/781700","tags":["fix","issue-tracking"],"sources":["cvelist","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2026-5025","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["ensy"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-22T17:45:29.886Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42506","url":"https://www.cve.org/CVERecord?id=CVE-2026-42506","licence":"CVE Terms of Use","modified":"2026-05-22T17:45:49.989Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5025","url":"https://pkg.go.dev/vuln/GO-2026-5025","licence":"CC-BY-4.0","modified":"2026-05-30T05:14:17.563Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42506","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42506","licence":"Public domain","modified":"2026-07-23T16:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:22.189Z","epss":{"score":0.00269,"percentile":0.20421,"date":"2026-12-01T12:00:22.000Z"}}