Advisory

GHSA-vm6g-8r4h-22x8

Also known as: CVE-2026-25155

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-03 20:59 UTC
Modified
2026-02-11 15:03 UTC

Affected packages and fixes

@builder.io/qwik-city

npm · All systems

Affected

  • introduced 0, fixed 1.12.0 (semver)

Fixed versions

1.12.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences