5.9medium
[qwik-city] CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vm6g-8r4h-22x8
Description
Qwik is a performance focused javascript framework. Prior to version 1.12.0, a typo in the regular expression within isContentType causes incorrect parsing of certain Content-Type headers. This issue has been patched in version 1.12.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| QwikDev qwik | < 1.12.0 | CVE List |
| @builder.io/qwik-city (npm) | before 1.12.0 | GitHub Advisory Database |
| qwik qwik | before 1.12.0 | NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Qwik is a performance focused javascript framework. Prior to version 1.12.0, a typo in the regular expression within isContentType causes incorrect parsing of certain Content-Type headers. This issue has been patched in version 1.12.0.
GitHub Advisory Database
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.
NVD (es)
Qwik es un framework de JavaScript centrado en el rendimiento. Antes de la versión 1.12.0, un error tipográfico en la expresión regular dentro de isContentType provoca un análisis incorrecto de ciertos encabezados Content-Type. Este problema ha sido parcheado en la versión 1.12.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25155 changed 2026-02-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vm6g-8r4h-22x8 changed 2026-02-11 | CC-BY-4.0 |
| NVD | CVE-2026-25155 changed 2026-06-17 | Public domain |