medium5.9
CVE-2026-25155
Qwik City CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)
Impact
### Summary A typo in the regular expression within isContentType causes incorrect parsing of certain Content-Type headers. ### Impact An attacker can bypass Qwik City’s Origin-based CSRF protections and perform forged form submissions, potentially causing unauthorized state changes.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @builder.io/qwik-city | < 1.12.0 | 1.12.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Qwik | Qwik | before 1.12.0 |