Vulnerability
CVE-2018-17142
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-2wp2-chmh-r934
golang.org/x/net/html NULL Pointer Dereference vulnerability
-
GO-2022-0192
Incorrect parsing of nested templates in golang.org/x/net/html
References
- https://github.com/golang/go/issues/27702
- 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/