{"id":"CVE-2026-27136","published":"2026-05-22T15:01:22Z","modified":"2026-05-22T16:59:52Z","title":"Invoking duplicate attributes can cause XSS in golang.org/x/net/html","vendor":"golang.org/x/net","product":"golang.org/x/net/html","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00255,"percentile":0.1744,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/79575","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8","tags":[]},{"url":"https://go.dev/cl/781685","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5030","tags":[]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":3.49},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"golang-org-x-net","affectedVersions":[{"vendor":"golang.org/x/net","product":"golang.org/x/net/html","versions":["< 0.55.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-22T16:59:35.355098Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/net","vulnerableRanges":["<0.55.0"],"patched":["0.55.0"],"from":["GO-2026-5030"],"provenance":"source"}],"summary":{"text":"The golang.org/x/net/html package contains a flaw in which parsing arbitrary HTML and then rendering it with Render can produce an unexpected HTML tree, caused by mishandling of duplicate attributes. An attacker who can supply HTML input can leverage this to execute cross-site scripting in applications that sanitize input HTML before rendering, and this requires a user to interact with the crafted content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:27Z"},"euvd":{"id":"EUVD-2026-31451","exploited":false,"provenance":"source"}}