Vulnerability
CVE-2026-78661
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.
10847 advisories report this vulnerability, across 10 ecosystems.
Advisories in Wolfi
- CGA-222p-gpfj-44qp
- CGA-224g-g9pc-ww2x
- CGA-2262-3vwm-93mg
- CGA-2263-3c87-4vmm
- CGA-2274-g657-q4qv
- CGA-2296-jq45-229x
- CGA-22cg-w9q5-v6f5
- CGA-22r4-8w9p-89xj
- CGA-234p-5hhf-rcp3
- CGA-2354-9p44-6622
- CGA-23c4-9vc6-crfr
- CGA-23f4-4382-fv8q
- CGA-23pg-g2qv-m4h4
- CGA-23qv-736j-q2cf
- CGA-23xx-2p5g-hq56
- CGA-249c-3fv7-fg3r
- CGA-24c4-w7xw-33x8
- CGA-24hg-2qp8-5c9g
- CGA-24p4-8w67-8h7q
- CGA-24q7-2xr8-hrrj
- CGA-24vh-3gh4-wjhq
- CGA-24vv-qfr2-76cv
- CGA-252p-w2r7-ffq4
- CGA-256g-5p86-25cp
- CGA-25g7-g9x2-8mjq
- CGA-25wg-vpcx-hj83
- CGA-25wr-9ww4-hqgf
- CGA-262p-x8c2-f4xm
- CGA-2634-56rr-9526
- CGA-263r-mw6q-226h
- CGA-266c-hc4v-43pw
- CGA-267w-rj68-c4pr
- CGA-26h2-9qhj-jgmh
- CGA-27cg-23m8-j6fp
- CGA-27wx-hjmh-q3m8
- CGA-2826-w3xm-9q75
- CGA-2865-r276-gr4c
- CGA-286x-7mrj-hffq
- CGA-28f4-v87w-r6rr
- CGA-28fw-8mxx-392h
- CGA-28j4-vq9f-9g9w
- CGA-28mc-vrwc-g5v9
- CGA-28mp-c9wf-wwxm
- CGA-29fv-942q-rmx6
- CGA-29hv-93j3-mqm8
- CGA-29q4-wp8p-m29p
- CGA-2c8w-4vfx-q2xx
- CGA-2cmp-558w-88g6
- CGA-2f27-fxjg-xpwm
- CGA-2f4h-x37x-85w2
- CGA-2fc8-c53q-6xhv
- CGA-2fcw-m9gc-cv62
- CGA-2fqr-mjp8-pr8m
- CGA-2fr9-63m2-6f8q
- CGA-2fvm-jffr-49mm
- CGA-2gfm-3pvg-2j2q
- CGA-2ggw-2qm5-fxvw
- CGA-2ghf-78c6-9cjf
- CGA-2gm6-8v25-qhq9
- CGA-2gmg-hcj8-fcpf
- CGA-2gq5-9mgv-j6vx
- CGA-2grw-ch6h-rqm5
- CGA-2gw2-m938-cxxh
- CGA-2h77-6vhr-7rp2
- CGA-2h96-qqp8-w98v
- CGA-2hhf-cvc7-mmhj
- CGA-2hjf-5c6f-4f72
- CGA-2hmh-x2x8-rrvg
- CGA-2hr4-9xr4-78g3
- CGA-2hx5-pq4j-w4wv
- CGA-2hx7-8f9p-hjjf
- CGA-2hx8-4293-rgqm
- CGA-2j45-m6gf-vwhv
- CGA-2j6h-rhqj-r675
- CGA-2jfv-cphw-q436
- CGA-2jg5-6wgm-3hf7
- CGA-2jhc-pp84-9558
- CGA-2jqw-w443-vr87
- CGA-2m8g-qwhr-cchf
- CGA-2mcj-pfcq-v2rp
- CGA-2mqm-6x77-qw8c
- CGA-2p5q-6gj2-59xv
- CGA-2p7f-fcmh-4jf6
- CGA-2pjm-7v2f-j6hq
- CGA-2pq8-2r44-fjr5
- CGA-2pqr-5443-856c
- CGA-2pqx-fg6w-83f5
- CGA-2px8-m6ff-23pg
- CGA-2q43-228m-2c8w
- CGA-2q5q-42cj-hpp4
- CGA-2qc3-66xf-j9pr
- CGA-2qfj-fg9j-wwqr
- CGA-2qgm-3967-9g57
- CGA-2qgq-2926-7q9w
- CGA-2qj4-jwr5-2p84
- CGA-2qx5-768g-cf3j
- CGA-2rcv-8xgm-6v7x
- CGA-2v2m-vq4m-59c9
- CGA-2v3f-g6gf-w4x6
- CGA-2vcq-8m92-8h2j
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-78661.