{"id":"GHSA-mv93-wvcp-7m7r","revision":"5b0cb8a0eb9e498bb78a8544995a82ed","records":[{"revision":"5b0cb8a0eb9e498bb78a8544995a82ed","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-mv93-wvcp-7m7r","aliases":["CVE-2018-17847","CVE-2018-17848","GHSA-4r78-hx75-jjj2","GO-2022-0197"],"title":"golang.org/x/net/html Improper Validation of Array Index vulnerability","description":"The html package (aka `x/net/html`) through 2018-09-25 in Go mishandles <math><template><mn><b></template>, leading to a \"panic: runtime error\" (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.","state":0,"publishedAt":"2022-05-13T01:26:08+00:00","modifiedAt":"2026-09-10T03:49:23.8967435+00:00","affected":[{"ecosystem":"Go","name":"golang.org/x/net","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20190125002852-4b62a64f59f7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-17848","https://github.com/golang/go/issues/27846","https://go.dev/cl/159397","https://go.dev/issue/27846","https://go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2c","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK","https://pkg.go.dev/vuln/GO-2022-0197"],"sourceUrl":"https://github.com/advisories/GHSA-mv93-wvcp-7m7r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mv93-wvcp-7m7r","identifiers":["GHSA-mv93-wvcp-7m7r","CVE-2018-17847","CVE-2018-17848","GHSA-4r78-hx75-jjj2","GO-2022-0197"]},"retained":false,"historicalAffected":[]}],"coverage":[]}