- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- mercurius
CVSS 3.1
- Type
- Secondary
- Base score
- 5.4
- Impact score
- 2.5
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Severity
- MEDIUM
- security-advisories@github.com
- CWE-352
- Hype score
- Not currently trending
CVE-2025-64166 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… https://t.co/X8dynrimU5
@CVEnew
5 Mar 2026
137 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
CVE-2025-64166 Cross-Site Request Forgery Vulnerability in Mercurius GraphQL Adapter Before 16.4.0 https://t.co/rIu7HFEnfB
@VulmonFeeds
5 Mar 2026
51 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:*",
"matchCriteriaId": "A2B6A965-0F41-453F-8A1B-5D5C2709BB0E",
"versionEndExcluding": "16.4.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]