Mercurius: Incorrect Content-Type parsing can lead to CSRF attack
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| mercurius-js | mercurius | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Mercurius-js | Mercurius |
|
||||||||
| Mercurius Project | Mercurius |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v66j-6wwf-jc57 | Mercurius: Incorrect Content-Type parsing can lead to CSRF attack |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.184% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mercurius-js
Mercurius-js mercurius Mercurius Project Mercurius Project mercurius |
|
| Vendors & Products |
Mercurius-js
Mercurius-js mercurius Mercurius Project Mercurius Project mercurius |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Mercurius is a GraphQL adapter for Fastify. Prior to version 16.4.0, a cross-site request forgery (CSRF) vulnerability was identified. The issue arises from incorrect parsing of the Content-Type header in requests. Specifically, requests with Content-Type values such as application/x-www-form-urlencoded, multipart/form-data, or text/plain could be misinterpreted as application/json. This misinterpretation bypasses the preflight checks performed by the fetch() API, potentially allowing unauthorized actions to be performed on behalf of an authenticated user. This issue has been patched in version 16.4.0. | |
| Title | Mercurius: Incorrect Content-Type parsing can lead to CSRF attack | |
| Weaknesses | CWE-352 | |
| References |
| |
| Metrics |
cvssV3_1
|