@builder.io/qwik-city
1.20.4 · 9 Nov 2026MIT52.8k / weekRepositoryHomepagenpmAtom feed
1.20.4 is the newest release of 1.x.
In short
2 new2 fixed
Security
7 advisories affect 1.9.0; 1.19.2 fixes them
- CriticalPrototype Pollution via FormData Processing in Qwik CityGHSA-xqg6-98cw-gxhq · 3 Feb 2026Fixed in 1.19.0
- CriticalQwik's unhandled exception vulnerabilty can cause server crashes from malicious requestsGHSA-qr9h-j6xg-2j72 · 9 Jul 2025Fixed in 1.13.0
- HighQwik City has array method pollution in FormData processing allows type confusion and DoSGHSA-whhv-gg5v-864r · 20 Mar 2026Fixed in 1.19.2
- ModerateQwik City CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)GHSA-vm6g-8r4h-22x8 · 3 Feb 2026Fixed in 1.12.0
- ModerateQwik City has a CSRF Protection Bypass via Content-Type Header ValidationGHSA-r666-8gjf-4v5f · 3 Feb 2026Fixed in 1.19.0
2 more
- ModerateQwik SSR XSS via Unsafe Virtual Node SerializationGHSA-m6jq-g7gq-5w3c · 3 Feb 2026Fixed in 1.19.0
- LowQwik City Open Redirect via fixTrailingSlashGHSA-92j7-wgmg-f32m · 3 Feb 2026Fixed in 1.19.0
Release note
Minor Changes
✨ (EXPERIMENTAL) valibot$ validator and a fix for zod$ types.
To use it, you need to pass
experimental: ['valibot']as an option to theqwikViteplugin as such:// vite.config.ts export default defineConfig(({ command, mode }): UserConfig => { return { plugins: [ // ... other plugins like qwikCity() etc qwikVite({ experimental: ['valibot'] // ... other options }), ], // ... rest of the config }; }✨ (EXPERIMENTAL)
usePreventNavigatelets you prevent navigation while your app's state is unsaved. It works asynchronously for SPA navigation and falls back to the browser's default dialogs for other navigations. To use it, addexperimental: ['preventNavigate']to yourqwikViteoptions.
Patch Changes
🐞🩹 added .ico to be detected by isStaticFile
🐞🩹 fixed delays caused from inefficient Service Worker prefetching (buffering)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.