ZeroDay Brief
CVE-2026-78661

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 ev…

CVSS
7.5High
Chance of exploitation (EPSS)
0.48%
Published
Oct 27, 2026
In the news
Not yet
More from this vendor

What to do

A serious security flaw in Golang.org X Net Html that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 0.62.0

Affected versions
Golang.org X Net Html
Before 0.62.0

Description

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>") caused O(n^2) allocations and byte copies. Accumulate coalesced text in per-node byte slices during parsing and materialize Data strings once at the end of parse.

CWE-407

Affected products

Get alerts for these →

Timeline 21

Latest change: Nessus plugin 393958: Amazon Linux 2 : amazon-ssm-agent (ALAS-2026-4168) (Dec 4, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Tue, Oct 27, 2026

  1. CVECVE-2026-78661 published (CVSS 7.5)CVE Program · 22:18 UTC

References 4

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”