Advisory

GHSA-r666-8gjf-4v5f

Also known as: CVE-2026-25151

Summary

Qwik City has a CSRF Protection Bypass via Content-Type Header Validation

Details

Summary
Qwik City’s server-side request handler inconsistently interprets HTTP request headers, which can be abused by a remote attacker to circumvent form submission CSRF protections using specially crafted or multi-valued Content-Type headers.

Impact
A vulnerability in checkCSRF lets an attacker bypass Origin-based CSRF checks by using malformed or multi-valued Content-Type headers. Exploitation requires the CORS preflight to succeed (so it’s blocked if preflight is denied) and is possible when the application accepts cross-origin requests or via non-browser clients. Impact varies with server CORS and cookie policies and may enable unauthorized state changes.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-03 20:49 UTC
Modified
2026-02-04 18:08 UTC

Affected packages and fixes

@builder.io/qwik-city

npm · All systems

Affected

  • introduced 0, fixed 1.19.0 (semver)

Fixed versions

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