[qwik-city] CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)
Summary
[qwik-city] CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)
Original description
The description as published by the source.
Qwik is a performance focused javascript framework. Prior to version 1.12.0, a typo in the regular expression within isContentType causes incorrect parsing of certain Content-Type headers. This issue has been patched in version 1.12.0.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com