//nefariousplan

sveltejs

devalue, svelte

Case files

  1. CVE-2026-42599: Svelte's Spread Filter Required Names To Start With `on`. The HTML Parser Strips Whitespace First.

    CVE-2026-42599: Svelte's Spread Filter Required Names To Start With `on`. The HTML Parser Strips Whitespace First.

    On February 18, 2026, Svelte 5.51.5 shipped a one-line patch for CVE-2026-27121. The line, added to packages/svelte/src/internal/server/index.js in the attributes() function: if (name.length > 2 && name.startsWith('on')) continue;.

  2. CVE-2026-42567: Svelte's `<svelte:element>` Tag Validator Hangs On Strings It Was Written To Reject

    CVE-2026-42567: Svelte's `<svelte:element>` Tag Validator Hangs On Strings It Was Written To Reject

    Above line 494 of packages/svelte/src/utils.js, ten lines of comment tell you what the regex is for. It rejects whitespace, quotes, angle brackets, slashes, equals, "or other characters that could break out of a tag-name token and enable markup injection." It…

  3. CVE-2026-42570: Svelte devalue Passes The Wire's Length Field To `new Array`. V8 Allocates It Before The Validator Runs.

    CVE-2026-42570: Svelte devalue Passes The Wire's Length Field To `new Array`. V8 Allocates It Before The Validator Runs.

    devalue is the wire format Svelte ships for serializing JavaScript values into JSON. Its sparse-array encoding is documented in the source as [SPARSE, length, idx, val, idx, val, ...], with SPARSE being the sentinel number -7.