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
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.
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.
Yesterday
Wed, Nov 18, 2026
- DetectionNessus plugin 382322: Amazon Linux 2 : containerd (ALASNITRO-ENCLAVES-2026-135)Tenable
- DetectionNessus plugin 382326: Amazon Linux 2023 : containerd, containerd-stress (ALAS2023-2026-3469)Tenable
- DetectionNessus plugin 382330: Amazon Linux 2023 : nerdctl (ALAS2023-2026-3468)Tenable
- DetectionNessus plugin 382313: Amazon Linux 2 : nerdctl (ALAS-2026-4127)Tenable
- DetectionNessus plugin 382335: Amazon Linux 2 : soci-snapshotter (ALASDOCKER-2026-163)Tenable
- DetectionNessus plugin 382318: Amazon Linux 2 : containerd (ALASDOCKER-2026-164)Tenable
- DetectionNessus plugin 382645: SUSE SLES15 Security Update : google-osconfig-agent (SUSE-SU-2026:5246-1)Tenable
- DetectionNessus plugin 382320: Amazon Linux 2023 : soci-snapshotter (ALAS2023-2026-3465)Tenable
- DetectionNessus plugin 382321: Amazon Linux 2023 : ecs-init (ALAS2023-2026-3461)Tenable
Thu, Nov 12, 2026
- DetectionNessus plugin 379846: Amazon Linux 2023 : buildah (ALAS2023-2026-3451)Tenable
- DetectionNessus plugin 379853: Amazon Linux 2023 : skopeo, skopeo-tests (ALAS2023-2026-3450)Tenable
- DetectionNessus plugin 379891: Amazon Linux 2 : amazon-ssm-agent (ALAS-2026-4101)Tenable
- DetectionNessus plugin 379816: Amazon Linux 2023 : amazon-ssm-agent (ALAS2023-2026-3428)Tenable
Mon, Nov 9, 2026
- DetectionNessus plugin 377901: Amazon Linux 2 : docker (ALASNITRO-ENCLAVES-2026-133)Tenable
- DetectionNessus plugin 377915: Amazon Linux 2023 : docker (ALAS2023-2026-3391)Tenable
- DetectionNessus plugin 377921: Amazon Linux 2 : docker (ALASDOCKER-2026-162)Tenable
- DetectionNessus plugin 377952: Amazon Linux 2 : docker (ALASECS-2026-157)Tenable
Wed, Oct 28, 2026
Tue, Oct 27, 2026
- CVECVE-2026-78661 published (CVSS 7.5)CVE Program · 22:18 UTC
References 4
- go.dev /cl/849365
- go.dev /issue/82224
- groups.google.com /g/golang-announce/c/sqrs2vTx_Xs
- pkg.go.dev /vuln/GO-2026-6860