GO-2022-0197

vendorUSosv

Panic when parsing certain inputs in golang.org/x/net/html

view advisory published 2022-07-01Licence: per source

The Parse function can panic on some invalid inputs. For example, the Parse function panics on the input "<svg><template><desc><t><svg></template>".

01

describes (2)

Related CVEs.

IDseverity exploitable
CVE-2018-17848UShigh7.5—
The html package (aka x/net/html) through 2018-09-25 in Go mishandles <math><template><mn><b></template>, leading to a "panic: runtime error" (index out of range) in (*insertionMod…
CVE-2018-17847UShigh7.5—
The html package (aka x/net/html) through 2018-09-25 in Go mishandles <svg><template><desc><t><svg></template>, leading to a "panic: runtime error" (index out of range) in (*nodeSt…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan