MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-78661WID-SEC-W-2026-4738:CVE-2026-78661

Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net

Not on CISA KEV
  • Overview

Summary

When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (such as "a</x>")

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)
  • Ubuntu Source: Ubuntu