Packages / @builder.io/qwik-city / Security

ModerateVulnerabilityGHSA-vm6g-8r4h-22x8CVE-2026-25155Published 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

  • 1.x1.0.0 – 1.11.0Fixed in 1.12.0
  • 0.107.x and older0.0.1 – 0.107.0No 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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.