Skip to main content
VulnerabilityPublished

CVE-2026-97045: golang.org/x/net/html · Cross-site Scripting

Affects golang.org/x/net/htmlSource CVE Database V5

0

Not known to be exploited : upgrade to 0.62.0 soon.

Data as of 27 Oct 2026, 22:01 UTC

Severity
High

Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD

Patch
Available – fixed in 0.62.0

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade golang.org/x/net/html to 0.62.0.

Affected software

ProductAffectedFixed in
golang.org/x/netgolang.org/x/net/htmlAffected
  • <0.62.0
Fixed in
  • 0.62.0
Gogolang.org/x/net/htmlpkg:golang/golang.org/x/net/htmlOther threatsAffected
  • <0.62.0
Fixed in
  • 0.62.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in golang.org/x/net/html version 0.62.0. Users should upgrade to version 0.62.0 or later to remediate this vulnerability.

Description

CVE-2026-97045 is a cross-site scripting (XSS) vulnerability in the golang.org/x/net/html package. The issue arises from improper handling of namespace transitions when walking up the DOM tree, potentially allowing literal text emission in unintended foreign namespaces. This flaw affects versions before 0.62.0 and has been fixed in version 0.62.0.

References

Community reviews

Loading reviews…