ADVISORIES

Go Vulnerability Database

GO-2022-0192

Incorrect parsing of nested templates in golang.org/x/net/html

Details

The Parse function can panic on some invalid inputs.

For example, the Parse function panics on the input "<math><template><mo><template>".

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/net
All versions before 0.0.0-20180925071336-cf3bd585ca2a (fixed in 0.0.0-20180925071336-cf3bd585ca2a)

References