ADVISORIES

GitHub Advisory Database

GHSA-mv93-wvcp-7m7r

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 <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.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/net
All versions before 0.0.0-20190125002852-4b62a64f59f7 (fixed in 0.0.0-20190125002852-4b62a64f59f7)

References