GHSA-vm6g-8r4h-22x8

Suggest an improvement
Source
https://github.com/advisories/GHSA-vm6g-8r4h-22x8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-vm6g-8r4h-22x8/GHSA-vm6g-8r4h-22x8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vm6g-8r4h-22x8
Aliases
Published
2026-02-03T20:59:18Z
Modified
2026-02-11T15:03:51.313099Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2026-02-03T22:16:30Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "github_reviewed_at": "2026-02-03T20:59:18Z",
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / @builder.io/qwik-city

Package

Name
@builder.io/qwik-city
View open source insights on deps.dev
Purl
pkg:npm/%40builder.io/qwik-city

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-vm6g-8r4h-22x8/GHSA-vm6g-8r4h-22x8.json"