CVE-2026-25151 Qwik City has a CSRF Protection Bypass via Content-Type Header Validation
Remote attackers can bypass CSRF protections in Qwik City by manipulating Content-Type headers, allowing unauthorized form submissions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-25151?
CVE-2026-25151 is a medium-severity vulnerability in QwikDev qwik, published on 3 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Qwik is a performance focused javascript framework. Prior to version 1.19.0, Qwik City’s server-side request handler inconsistently interprets HTTP request headers, which can be abused by a remote attacker to circumvent form submission CSRF protections using specially crafted or multi-valued Content-Type headers. This issue has been patched in version 1.19.0.
Weakness: CWE-352
Which versions are affected by CVE-2026-25151?
2 open source packages ship an affected version, including @builder.io/qwik-city. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@builder.io/qwik-city npm | All versions | 1.19.0 |
@builder.io/qwik-city npm | All versions | 1.19.0 |
Products include Qwik Qwik.
How do I fix CVE-2026-25151?
Upgrade @builder.io/qwik-city to 1.19.0 or later.
Is CVE-2026-25151 being exploited?
There is no known exploitation of CVE-2026-25151 in the wild and no public exploit code.
Other vulnerabilities in QwikDev qwik
- CVE-2023-1283 Code Injection in builderio/qwik
- CVE-2026-25150 Prototype Pollution via FormData Processing in Qwik City
- CVE-2026-27971 Qwik affected by unauthenticated RCE via server$ Deserialization
- CVE-2026-32701 Qwik has array method pollution in FormData processing, allowing type confusion and DoS
- CVE-2024-41677 Cross-site Scripting (XSS) vulnerability due to improper HTML escaping in qwik
Sources
Also known as GHSA-r666-8gjf-4v5f.