Go Vulnerability Database
GO-2021-0078
Panic when parsing malformed HTML in golang.org/x/net/html
Details
The HTML parser does not properly handle "in frameset" insertion mode, and can be made to panic when operating on malformed HTML that contains <template> tags. If operating on user input, this may be a vector for a denial of service attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/net | All versions before 0.0.0-20180816102801-aaf60122140d (fixed in 0.0.0-20180816102801-aaf60122140d) |