{"cve":"CVE-2018-17847","nvd":{"published":"2018-10-01T08:29:02.210","modified":"2026-06-17T01:46:23.623","status":"Modified","description":"The html package (aka x/net/html) through 2018-09-25 in Go mishandles <svg><template><desc><t><svg></template>, leading to a \"panic: runtime error\" (index out of range) in (*nodeStack).pop in node.go, called from (*parser).clearActiveFormattingElements, during an html.Parse call.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-119"],"references":["https://github.com/golang/go/issues/27846","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/","https://github.com/golang/go/issues/27846","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/"],"products":["fedoraproject:fedora","golang:net"],"source":"nvd","synced_at":"2026-10-19T20:53:14.491561039+00:00"},"epss":{"cve":"CVE-2018-17847","score":0.02364,"percentile":0.83795,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4r78-hx75-jjj2","url":"https://osv.dev/vulnerability/GHSA-4r78-hx75-jjj2","summary":"golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer","modified":"2026-09-10T03:49:19.734133928Z","packages":[{"ecosystem":"Go","name":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","ranges":["<0.0.0-20190125002852-4b62a64f59f7"],"fixed":["0.0.0-20190125002852-4b62a64f59f7"]}]},{"id":"GHSA-mv93-wvcp-7m7r","url":"https://osv.dev/vulnerability/GHSA-mv93-wvcp-7m7r","summary":"golang.org/x/net/html Improper Validation of Array Index vulnerability","modified":"2026-09-10T03:49:23.896743505Z","packages":[{"ecosystem":"Go","name":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","ranges":["<0.0.0-20190125002852-4b62a64f59f7"],"fixed":["0.0.0-20190125002852-4b62a64f59f7"]}]},{"id":"GO-2022-0197","url":"https://osv.dev/vulnerability/GO-2022-0197","summary":"Panic when parsing certain inputs in golang.org/x/net/html","modified":"2026-02-04T04:06:39.203335Z","packages":[{"ecosystem":"Go","name":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","ranges":["<0.0.0-20190125002852-4b62a64f59f7"],"fixed":["0.0.0-20190125002852-4b62a64f59f7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}