{"id":"EUVD-2026-111399","revision":"3040ec6dda6a4071a66d2afb1b874d26","records":[{"revision":"3040ec6dda6a4071a66d2afb1b874d26","observedAt":"2026-11-09T15:14:21.771+00:00","statement":{"source":"euvd","id":"EUVD-2026-111399","aliases":["CVE-2026-78661","GHSA-75pg-wvh3-34jr"],"title":"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 t…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":null}],"references":["https://go.dev/cl/849365","https://go.dev/issue/82224","https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs","https://pkg.go.dev/vuln/GO-2026-6860"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-111399","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 27, 2026, 9:38:56 PM","dateUpdated":"Nov 4, 2026, 4:40:30 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2026:12425-1","title":"amazon-cloudwatch-agent-1.300074.0-1.1 on GA media","vulnerabilityIds":["CVE-2026-78661","CVE-2026-97045"]},{"id":"openSUSE-SU-2026:12430-1","title":"google-osconfig-agent-20261103.02-1.1 on GA media","vulnerabilityIds":["CVE-2026-109425","CVE-2026-116591","CVE-2026-78661","CVE-2026-97045"]},{"id":"msrc_CVE-2026-78661","title":"Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net","vulnerabilityIds":["CVE-2026-78661"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-111399","identifiers":["EUVD-2026-111399","CVE-2026-78661","GHSA-75pg-wvh3-34jr"]},"retained":false,"historicalAffected":[]}],"coverage":[]}