CVE Explorer
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 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 unauthoriz
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"mercurius","vendor":"mercurius-js","versions":[{"status":"affected","version":"< 16.4.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-352","description":"CWE-352: Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/mercurius-js/mercurius/commit/962d402ec7a92342f4a1b7f5f04af01776838c3c","tags":["x_refsource_MISC"],"url":"https://github.com/mercurius-js/mercurius/commit/962d402ec7a92342f4a1b7f5f04af01776838c3c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/cna/references/2
{"name":"https://github.com/mercurius-js/mercurius/pull/1187","tags":["x_refsource_MISC"],"url":"https://github.com/mercurius-js/mercurius/pull/1187"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-v66j-6wwf-jc57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/adp/0/references/0
{"name":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-v66j-6wwf-jc57","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-v66j-6wwf-jc57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f33c2d7b42228f93b603e360ee3fde04da61fcd9d4181d664de41157e4b1b07 · sha256:6bdde577fdd0389f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.