{"id":"CVE-2026-42502","aliases":["CVE-2026-42502","GO-2026-5027"],"related":["RHSA-2026:51112","RHSA-2026:59560","RHSA-2026:59562","RHSA-2026:61585","RHSA-2026:62391","RHSA-2026:63134","RHSA-2026:66432","RHSA-2026:66561","RHSA-2026:67138","RHSA-2026:67139","RHSA-2026:67517","RHSA-2026:69293","RHSA-2026:90363","RHSA-2026:90493"],"kind":"vulnerability","state":"published","title":"Invoking  incorrect handling of HTML 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":"Procesar HTML arbitrario que luego se renderiza usando Render puede resultar en un árbol HTML inesperado. Esto puede ser explotado 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-11-23T21:12:29.472Z","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","CWE-1021"],"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/79572","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/781701","tags":["fix","issue-tracking"],"sources":["cvelist","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2026-5027","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Tristan Madani"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-22T17:16:33.414Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42502","url":"https://www.cve.org/CVERecord?id=CVE-2026-42502","licence":"CVE Terms of Use","modified":"2026-05-22T17:17:20.637Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5027","url":"https://pkg.go.dev/vuln/GO-2026-5027","licence":"CC-BY-4.0","modified":"2026-11-23T21:12:29.472Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42502","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42502","licence":"Public domain","modified":"2026-07-23T16:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:22.188Z","epss":{"score":0.00255,"percentile":0.1826,"date":"2026-12-01T12:00:22.000Z"}}