{"id":"GO-2022-0193","summary":"Panic on unconsidered isindex and template combination in golang.org/x/net/html","details":"The Parse function can panic on some invalid inputs.\n\nFor example, the Parse function panics on the input \"\u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e\".","aliases":["CVE-2018-17143","GHSA-fcf9-6fv2-fc5v"],"modified":"2026-03-17T04:09:45.659723Z","published":"2022-07-06T18:14:54Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0193"},"references":[{"type":"FIX","url":"https://go-review.googlesource.com/c/net/+/136575"},{"type":"FIX","url":"https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908"},{"type":"REPORT","url":"https://go.dev/issue/27704"}],"affected":[{"package":{"name":"golang.org/x/net","ecosystem":"Go","purl":"pkg:golang/golang.org/x/net"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180921000356-2f5d2388922f"}]}],"ecosystem_specific":{"imports":[{"symbols":["Parse","ParseFragment","inBodyIM"],"path":"golang.org/x/net/html"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0193.json"}}],"schema_version":"1.7.5","credits":[{"name":"@tr3ee"}]}