# CVE-2024-45338: GO-2024-3333 - Non-linear parsing of case-insensitive content in golang.org/x/net/html

Source: https://junglewise.ai/threats/cve-2024-45338-non-linear-parsing-of-case-insensitive-content-in-golang-org-x  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-18  
License: CC BY 4.0 with a link back

CVE-2024-45338 · Severity: medium · CVSS 4 · Published 2024-12-18

Non-linear parsing of case-insensitive content in golang.org/x/net/html

Technologies: [golang.org/x/net (Go)](https://junglewise.ai/threats/technologies/golang-org-x-net), [golang.org/x/net/html (Go)](https://junglewise.ai/threats/technologies/golang-org-x-net-html). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-45338 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45338 being exploited in the wild.

**How severe is CVE-2024-45338?** Medium severity, with a CVSS score of 4, published 18 December 2024.

**Which products and versions are affected?** golang.org/x/net (Go) SEMVER:introduced=0,fixed=0.33.0; golang.org/x/net/html (Go) SEMVER:introduced=0,fixed=0.33.0.

**Is there a fix for CVE-2024-45338?** Yes. golang.org/x/net (Go): upgrade to 0.33.0 or later; golang.org/x/net/html (Go): upgrade to 0.33.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-45338?** Check whether you run golang.org/x/net (Go) or golang.org/x/net/html (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- golang.org/x/net (Go): upgrade to 0.33.0 or later

  ```sh
  go get golang.org/x/net@v0.33.0
  ```

- golang.org/x/net/html (Go): upgrade to 0.33.0 or later

  ```sh
  go get golang.org/x/net/html@v0.33.0
  ```


## Affected products

- golang.org/x/net (Go) SEMVER:introduced=0,fixed=0.33.0
- golang.org/x/net/html (Go) SEMVER:introduced=0,fixed=0.33.0

## Identifiers

- CVE-2024-45338
- GHSA-w32m-9786-jp63
- GO-2024-3333

## Related threats

- [Go html parser namespace handling in childTextNodesAreLiteral](https://junglewise.ai/threats/cve-2026-97045-in-childtextnodesareliteral-walking-up-the-tree-previously)
- [Go HTML parser quadratic time complexity in text node coalescing](https://junglewise.ai/threats/cve-2026-78661-when-coalescing-adjacent-text-nodes-in-addtext-and-fosterparent)
- [Google Go x/net denial of service in dnsmessage parsing](https://junglewise.ai/threats/cve-2026-46600-google-go-x-net-denial-of-service-in-dnsmessage-parsing)
- [Golang net/html Cross-Site Scripting via incorrect namespaced element parsing](https://junglewise.ai/threats/cve-2026-42506-golang-net-html-cross-site-scripting-via-incorrect-namespaced)
- [Google Go x/net/html XSS via incorrect foreign content parsing](https://junglewise.ai/threats/cve-2026-42502-google-go-x-net-html-xss-via-incorrect-foreign-content-parsing)
