qwikdev/qwik · Security

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

GHSA ID
GHSA-vm6g-8r4h-22x8
CVE ID
CVE-2026-25155
Severity
medium
Published
Updated
CVSS
5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
CVSS v3
5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N

Description

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.

CWEs

References