GO-2022-0192

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

At a glance

Published
Updated
CVE
CVE-2018-17142
Aliases
GHSA-2wp2-chmh-r934

Description

The Parse function can panic on some invalid inputs. For example, the Parse function panics on the input "<math><template><mo><template>".

Affected packages

PackageVersions
Go · golang.org/x/netintroduced 0, fixed 0.0.0-20180925071336-cf3bd585ca2a

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database