WPGraphQL < 2.11.1 - Unauthenticated SQL Injection

7.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-40762
CVSS 7.5 (High)
Publicly Published April 21, 2026
Last Updated April 30, 2026
Researcher daroo

Description

The WPGraphQL plugin for WordPress is vulnerable to SQL Injection in versions up to 2.11.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WPGraphQL

Software Type Plugin
Software Slug wp-graphql (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.11.1, or a newer patched version
Affected Version
  • < 2.11.1
Patched Version
  • 2.11.1

Recent vulnerabilities in WPGraphQL

# Title CVE ID CVSS Researchers Date
1 WPGraphQL <= 2.5.3 - Cross-Site Request Forgery CVE-2025-68604 4.3 Nabil Irawan May 7, 2026
2 WPGraphQL <= 2.9.1 - Missing Authorization CVE-2026-33290 4.3 sshell March 24, 2026
3 WPGraphQL <= 1.14.5 - Authenticated (Editor+) Server-Side Request Forgery CVE-2023-23684 5.5 Ravi Dharmawan June 28, 2023
4 WPGraphQL <= 1.3.5 - Denial of Service CVE-2021-31157 5.3 DOLEV FARHI April 27, 2021
5 WPGraphQL <= 0.3.4 - Information Exposure CVE-2019-25060 6.5 Rohan Pagey July 10, 2019
6 WPGraphQL <= 0.2.3 - Unauthenticated Comment Creation CVE-2019-9881 5.3 Simone Quatrini May 8, 2019
7 WPGraphQL <= 0.2.3 - Administrative User Creation CVE-2019-9879 9.8 Simone Quatrini May 8, 2019
8 WPGraphQL <= 0.2.3 - Information Exposure CVE-2019-9880 9.1 Simone Quatrini May 8, 2019

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation