CVEs Affecting the Svelte Ecosystem

(svelte.dev)

72 points | by tobr 1 hour ago

3 comments

  • appplication 1 hour ago
    First off, love svelte, the team is really doing a good job focusing on developer ergonomics.

    That said, I’m not surprised to see a list of CVEs impacting devalue. After running into some (seemingly arbitrary) limitations, I skimmed the code and it definitely felt like there was some sketchiness to it, given how it handles user inputs. If I were nefarious or a security researcher it would definitely be a focal point for me.

    • no_wizard 16 minutes ago
      I want to ask simply for curiosity. Knowing you felt this way about that code, and I'm assuming knew that it had some level of relative importance to Svelte as a whole, how did that inform your decision making, if at all?
      • appplication 8 minutes ago
        My decision making to use svelte? TBH I looked at source only well after I was far enough along development to be committed to it as a framework.

        That said, I don’t have any regrets, it’s a pleasure to use svelte and I trust the team’s direction. This particular app is already locked down to internal/trusted users. For something more public or security critical it may warrant a deeper dive and more consideration.

  • swyx 1 hour ago
    all DoS attacks and one XSS. this isnt as bad as the react server components CVEs, which enabled RCE.

    saving people a click:

    CVE-2026-22775: DoS in devalue.parse due to memory/CPU exhaustion

    > Effects: A malicious payload can cause arbitrarily large memory allocation, potentially crashing the process. SvelteKit applications using remote functions are vulnerable, as the parameters are run through devalue.parse If you don’t have remote functions enabled, SvelteKit is not vulnerable

    CVE-2026-22774: DoS in devalue.parse due to memory exhaustion (Yes, this is very similar to the previous CVE. No, it is not the same!)

    > Effects: A malicious payload can cause arbitrarily large memory allocation, potentially crashing the process SvelteKit applications using remote functions are vulnerable, as the parameters are run through devalue.parse If you don’t have remote functions enabled, SvelteKit is not vulnerable

    CVE-2026-22803: Memory amplification DoS in Remote Functions binary form deserializer

    > Effects: Users can submit a malicious request that causes your application to hang and allocate arbitrarily-large amounts of memory

    CVE-2025-67647: Denial of service and possible SSRF when using prerendering

    > Effects: DoS causes the server process to die SSRF allows access to internal resources that can be reached without authentication from SvelteKit’s server runtime If the stars align, it’s possible to obtain SXSS via cache poisoning by forcing a potential CDN to cache an XSS returned by the attacker’s server (the latter being able to specify the cache-control of their choice)

    CVE-2025-15265: XSS via hydratable

    > Effects: Your users are vulnerable to XSS if an attacker can manage to get a controlled key into hydratable that is then returned to another user

  • Agreed3750 53 minutes ago
    hey react called, they want their vulnerabilities back
    • Raed667 41 minutes ago
      I'm sure the 3 demo apps using svelte are really devastated by this announcement /s
      • tietjens 17 minutes ago
        Small sites such as IKEA and the New York Times are built with Svelte.
      • afavour 36 minutes ago
        https://apps.apple.com/ seems a little more involved than a demo app to me
        • rafram 19 minutes ago
          Not to mention most interactive content from the New York Times (which is what Rich Harris originally developed it for).
        • ChocolateGod 32 minutes ago
          Apple TV and Music also use Svelte.
      • r14c 27 minutes ago
        Hey I work on an enterprise app that's written in svelte. There are dozens of us!