# golang.org/x/net/html (Go) vulnerabilities

12 known vulnerabilities (1 high, 10 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pkg.go.dev/golang.org/x/net/html

## Advisories (12)

### [CVE-2026-97045](https://cve.now/CVE-2026-97045): Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net

- Severity: Medium 6.1
- Published: Oct 27, 2026
- Affected: fixed in 0.62.0.

### [CVE-2026-78661](https://cve.now/CVE-2026-78661): Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net

- Severity: High 7.5
- Published: Oct 27, 2026
- Affected: fixed in 0.62.0.

### [CVE-2026-27136](https://cve.now/CVE-2026-27136): Invoking duplicate attributes can cause XSS in golang.org/x/net/html

- Severity: Medium 6.1
- Published: May 22, 2026
- Affected: fixed in 0.55.0.

### [CVE-2026-25681](https://cve.now/CVE-2026-25681): Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html

- Severity: Medium 6.1
- Published: May 22, 2026
- Affected: fixed in 0.55.0.

### [CVE-2026-25680](https://cve.now/CVE-2026-25680): Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html

- Severity: Medium 6.5
- Published: May 22, 2026
- Affected: fixed in 0.55.0.

### [CVE-2026-42502](https://cve.now/CVE-2026-42502): Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html

- Severity: Medium 6.1
- Published: May 22, 2026
- Affected: fixed in 0.55.0.

### [CVE-2026-42506](https://cve.now/CVE-2026-42506): Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html

- Severity: Medium 6.1
- Published: May 22, 2026
- Affected: fixed in 0.55.0.

### [CVE-2025-58190](https://cve.now/CVE-2025-58190): Infinite parsing loop in golang.org/x/net

- Severity: Medium 5.3
- Published: Feb 5, 2026
- Affected: fixed in 0.45.0.

### [CVE-2025-47911](https://cve.now/CVE-2025-47911): Quadratic parsing complexity in golang.org/x/net/html

- Severity: Medium 5.3
- Published: Feb 5, 2026
- Affected: fixed in 0.45.0; fixed in 0.45.0.

### [CVE-2025-22872](https://cve.now/CVE-2025-22872): Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net

- Severity: Medium 6.5
- Published: Apr 16, 2025
- Affected: fixed in 0.38.0.

### [CVE-2024-45338](https://cve.now/CVE-2024-45338): Non-linear parsing of case-insensitive content in golang.org/x/net/html

- Severity: Medium 5.3
- Published: Dec 18, 2024
- Affected: fixed in 0.33.0; fixed in 0.33.0.

### [CVE-2023-3978](https://cve.now/CVE-2023-3978): Improper rendering of text nodes in golang.org/x/net/html

- Severity: Unrated
- Published: Aug 2, 2023
- Affected: fixed in 0.13.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/golang.org/x/net/html
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
