{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-78661","id":"CVE-2026-78661","title":"Go x/net/html denial of service in text node coalescing","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 par","descriptionLong":"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.","published":"2026-10-27T21:38:56.517Z","updated":"2026-11-04T17:17:37.673Z","reserved":"2026-08-24T23:36:15.738Z","status":"Deferred","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["golang.org/x/net/html"],"affectedProducts":[{"vendor":"golang.org/x/net","product":"golang.org/x/net/html","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"0.62.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-407"],"aliases":[],"references":[{"url":"https://go.dev/cl/849365","tags":[]},{"url":"https://go.dev/issue/82224","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6860","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00409,"epssPercentile":0.35815,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-78661","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78661","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-78661","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-78661","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":["go"],"critical":[],"attention":null}