GHSA-vm6g-8r4h-22x8MediumCVSS 5.9

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

Published
February 3, 2026
Last Modified
February 11, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • npm/@builder.io/qwik-city:< 1.12.0

🔗 References (4)