{"id":"GHSA-mv93-wvcp-7m7r","summary":"golang.org/x/net/html Improper Validation of Array Index vulnerability","details":"The html package (aka `x/net/html`) through 2018-09-25 in Go mishandles \u003cmath\u003e\u003ctemplate\u003e\u003cmn\u003e\u003cb\u003e\u003c/template\u003e, leading to a \"panic: runtime error\" (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.","aliases":["CVE-2018-17847","CVE-2018-17848","GHSA-4r78-hx75-jjj2","GO-2022-0197"],"modified":"2026-02-04T02:37:43.865935Z","published":"2022-05-13T01:26:08Z","related":["CGA-r87m-j3pr-78m5"],"database_specific":{"severity":"HIGH","cwe_ids":["CWE-129"],"github_reviewed_at":"2023-02-08T00:34:13Z","github_reviewed":true,"nvd_published_at":"2018-10-01T08:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17848"},{"type":"WEB","url":"https://github.com/golang/go/issues/27846"},{"type":"WEB","url":"https://go.dev/cl/159397"},{"type":"WEB","url":"https://go.dev/issue/27846"},{"type":"WEB","url":"https://go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2c"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0197"}],"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-20190125002852-4b62a64f59f7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mv93-wvcp-7m7r/GHSA-mv93-wvcp-7m7r.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}