---
title: "GHSA-vm6g-8r4h-22x8: Qwik City CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)"
description: "Moderate severity. Qwik City CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)."
url: https://inlinr.com/advisories/GHSA-vm6g-8r4h-22x8
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-vm6g-8r4h-22x8 CVE-2026-25155 Published 3 Feb 2026

# Qwik City CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)

Your version 

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

- 1.x 1.0.0 – 1.11.0 Fixed in 1.12.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.12.0
```

Every release on a timeline

1.x 

1. Affected

1.0.0 – 1.11.0  
57 releases
2. Fixed

1.12.0 – 1.20.4  
20 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

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.

## 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-vm6g-8r4h-22x8 "https://github.com/QwikDev/qwik/security/advisories/GHSA-vm6g-8r4h-22x8")  
github.com/QwikDev/qwik/security/advisories/GHS…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-25155 "https://nvd.nist.gov/vuln/detail/CVE-2026-25155")  
nvd.nist.gov/vuln/detail/CVE-2026-25155
- [Fix commit](https://github.com/QwikDev/qwik/commit/d70d7099b90b998f1aac7cedc21c67d87bac4c75 "https://github.com/QwikDev/qwik/commit/d70d7099b90b998f1aac7cedc21c67d87bac4c75")  
d70d709
- [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.
