Panic: Runtime Error in Go HTML Package due to Mishandling of SVG and Template Tags

Panic: Runtime Error in Go HTML Package due to Mishandling of SVG and Template Tags

CVE-2018-17847 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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 (*nodeStack).pop in node.go, called from (*parser).clearActiveFormattingElements, during an html.Parse call.

Learn more about our Web Application Penetration Testing UK.