CVE-2026-78661golang.org/x/net/html
High 7.5 No auth needed
Follow: this CVE · golang.org/x/net · golang.org/x/net/html We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 27, 2026
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-407
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for golang.org/x/net/html.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/net |
< 0.62.0 |
0.62.0 |
go get golang.org/x/net@v0.62.0 |
Per OSV / GitHub Advisories (GO-2026-6860). Check the version in your lockfile before upgrading.
Affected products
- golang.org/x/net · golang.org/x/net/html
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- velociraptor-0.77.3.0.git141.b1612b50b-1.1 on GA media · SUSE · openSUSE-SU-2026:12622-1 · Nov 19, 2026 Critical
- grafana-12.4.15-1.1 on GA media · SUSE · openSUSE-SU-2026:12582-1 · Nov 17, 2026 Critical
- Security update for google-osconfig-agent · SUSE · SUSE-SU-2026:5246-1 · Nov 16, 2026 Critical
Also: SUSE (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.