ADVISORIES

Go Vulnerability Database

GO-2022-0197

Panic when parsing certain inputs 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 "<svg><template><desc><t><svg></template>".

Affected packages

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

References