CVE-2026-78661
Last modified
CVE-2026-78661 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| golang.org/x/net | golang.org/x/net/html | < 0.62.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-78661?
How severe is CVE-2026-78661?
How do I fix CVE-2026-78661?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-78656A vulnerability was found in itsourcecode Sales and Inventor…6.3
- CVE-2026-78657The SigmaForms Pro – AI Generated Forms plugin for WordPress…9.8
- CVE-2026-78658IBM UCD - IBM UrbanCode Deploy 7.2 through 7.2.3.25, and 7.3…6.5
- CVE-2026-78659When "Trailer" headers are sent by a client, the HTTP server…7.5
- CVE-2026-7866Stack-based Buffer Overflow vulnerability in RTI Connext Pro…10
- CVE-2026-78660Historically, we have been rather lax about malformed framin…7.5
- CVE-2026-78662Previously, a channel registered in the mux's chanList is no…7.5
- CVE-2026-78663The HTTP/2 server can refund connection-level flow control t…9.1
- CVE-2026-78667When parsing a Range header containing a large number of sma…7.5
- CVE-2026-78668Rejected reason: reserved but not needed
- CVE-2026-78669A malicious HTTP/2 peer can cause excessive CPU consumption …7.5
- CVE-2026-7867A flaw was found in udisks2. A local attacker with an active…7.8
Are you affected by CVE-2026-78661?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
