Update dependency @builder.io/qwik-city to v1.13.0 [SECURITY] #525
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.12.1
->1.13.0
GitHub Vulnerability Alerts
CVE-2025-53620
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
pnpm create qwik@latest
pnpm run preview
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
The same can also be repeated running Qwik in production using express.
pnpm create qwik@latest
pnpm run qwik add express
pnpm run build
pnpm run serve
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.
Release Notes
QwikDev/qwik (@builder.io/qwik-city)
v1.13.0
Compare Source
Minor Changes
🐞🩹 server$ errors can be caught by @plugin middleware (by @DustinJSilk in #7185)
refactor: Error types are standardised across server$ functions and routeLoaders (by @DustinJSilk in #7185)
✨ 499 is now a valid status code (by @DustinJSilk in #7185)
🐞🩹 server$ functions now correctly throw 4xx errors on the client (by @DustinJSilk in #7185)
Patch Changes
🐞🩹 Error boundary
ErrorBoundary
and fixuseErrorBoundary
(by @damianpumar in #7342)🐞🩹 Write Response object in the send request event even on redirects (by @nelsonprsousa in #7422)
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.