---
title: "GHSA-r666-8gjf-4v5f: Qwik City has a CSRF Protection Bypass via Content-Type Header Validation"
description: "Moderate severity. Qwik City has a CSRF Protection Bypass via Content-Type Header Validation. Affects @builder.io/qwik-city; fixed in 1.19.0."
url: https://inlinr.com/advisories/GHSA-r666-8gjf-4v5f
lang: en
---

[Packages](https://inlinr.com/packages) / [@builder.io/qwik-city](https://inlinr.com/packages/@builder.io/qwik-city) / [Security](https://inlinr.com/packages/@builder.io/qwik-city/security)

Moderate Vulnerability GHSA-r666-8gjf-4v5f CVE-2026-25151 Published 3 Feb 2026

# Qwik City has a CSRF Protection Bypass via Content-Type Header Validation

Your version 

Affected releases · [@builder.io/qwik-city](https://inlinr.com/packages/@builder.io/qwik-city)

- 1.x 1.0.0 – 1.18.0 Fixed in 1.19.0
- 0.107.x and older 0.0.1 – 0.107.0 No fix, no longer updated

On 1.x, the newest line:

```
npm install @builder.io/qwik-city@1.19.0
```

Every release on a timeline

1.x 

1. Affected

1.0.0 – 1.18.0  
69 releases
2. Fixed

1.19.0 – 1.20.4  
8 releases, latest

0.x 

1. Affected

0.0.1 – 0.107.0  
91 releases

168 stable releases of @builder.io/qwik-city, oldest to newest, one row per major.

## What happens

Summary

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.

Impact

A vulnerability in checkCSRF lets an attacker bypass Origin-based CSRF checks by using malformed or multi-valued Content-Type headers. Exploitation requires the CORS preflight to succeed (so it’s blocked if preflight is denied) and is possible when the application accepts cross-origin requests or via non-browser clients. Impact varies with server CORS and cookie policies and may enable unauthorized state changes.

## How it is exploited

Exploitable over the network, with no account and a user to do something.

- **Confidentiality**: low
- **Integrity**: high
- **Availability**: none

CVSS:3.1/​AV:N/​AC:H/​PR:N/​UI:R/​S:U/​C:L/​I:H/​A:N

## References

- [Reference](https://github.com/QwikDev/qwik/security/advisories/GHSA-r666-8gjf-4v5f "https://github.com/QwikDev/qwik/security/advisories/GHSA-r666-8gjf-4v5f")  
github.com/QwikDev/qwik/security/advisories/GHS…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-25151 "https://nvd.nist.gov/vuln/detail/CVE-2026-25151")  
nvd.nist.gov/vuln/detail/CVE-2026-25151
- [Fix commit](https://github.com/QwikDev/qwik/commit/eebf610e04cc3a690f11e10191d09ff0fca1c7ed "https://github.com/QwikDev/qwik/commit/eebf610e04cc3a690f11e10191d09ff0fca1c7ed")  
eebf610
- [Package](https://github.com/QwikDev/qwik "https://github.com/QwikDev/qwik")  
github.com/QwikDev/qwik

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
