CVE-2018-17847
HIGH7.5EPSS 0.69%Panic when parsing certain inputs in golang.org/x/net/html
Published: 5/13/2022Modified: 2/4/2026
Description
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 (3)
- Go/golang.org/x/netfrom 0, < 0.0.0-20190125002852-4b62a64f59f7
- Go/golang.org/x/netfrom 0, < 0.0.0-20190125002852-4b62a64f59f7
- Go/golang.org/x/netfrom 0, < 0.0.0-20190125002852-4b62a64f59f7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-17847
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-17848
- PATCHhttps://github.com/golang/go
- WEBhttps://github.com/golang/go/issues/27846
- WEBhttps://go.dev/cl/159397
- WEBhttps://go.dev/issue/27846
- WEBhttps://go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2c
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
- WEBhttps://pkg.go.dev/vuln/GO-2022-0197