← Vulnerability feed

Vulnerability record · CVE-2021-24762 · published 1 February 2022

CVE-2021-24762: Perfect Survey WordPress plugin unauthenticated SQL injection

Getperfectsurvey · Perfect Survey

The Perfect Survey WordPress plugin before 1.5.2 fails to validate and escape the question_id GET parameter before using it in a SQL statement within the get_question AJAX action. This lets unauthenticated users inject arbitrary SQL, and the flaw carries a critical CVSS score of 9.8.

9.8 CVSS 3.1 Critical EPSS 87% · top 0.3% CWE-89 · SQL injection
9.8CVSS 3.1 base score, v2 7.5
87%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

The Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated network-reachable SQL injection with critical CVSS 9.8 and very high EPSS probability, with public exploit code available.

What it is

The Perfect Survey WordPress plugin before 1.5.2 fails to validate and escape the question_id GET parameter before using it in a SQL statement within the get_question AJAX action. This lets unauthenticated users inject arbitrary SQL, and the flaw carries a critical CVSS score of 9.8.

Impact

An attacker can read, modify or destroy database contents and potentially pivot further depending on database privileges. Full confidentiality, integrity and availability impact is scored.

Attack surface

Reachable over the network through the plugin's AJAX endpoint via the question_id GET parameter; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

Not listed in CISA KEV, but EPSS is very high at 0.868 (99.7th percentile) and public exploit references exist on Packet Storm and WPScan.

What to do

  • Update the Perfect Survey plugin to version 1.5.2 or later immediately.
  • If patching is not possible, disable or remove the plugin until it can be updated.
  • Deploy a WAF rule blocking SQL injection patterns on the get_question AJAX action and question_id parameter.
  • Restrict database account privileges used by WordPress to least privilege.
  • Audit the database and logs for signs of tampering or data exfiltration.

Detection

  • Monitor web server and WAF logs for requests to the plugin's AJAX endpoint with suspicious question_id values.
  • Search for SQL keywords, comment sequences or UNION/OR patterns in GET parameters hitting the plugin.
  • Review database logs for anomalous queries or errors originating from the WordPress application.
  • Check for unexpected changes to survey or other database tables.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-24762 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2021-24763Getperfectsurvey perfect survey cross-site request forgery vulnerabilityThe Perfect Survey WordPress plugin before 1.5.2 does not have proper authorisation nor CSRF checks in the save_global_setting AJAX action, allowing …EPSS 0.64%6.1CVE-2021-24764Getperfectsurvey perfect survey cross-site scripting vulnerabilityThe Perfect Survey WordPress plugin before 1.5.2 does not sanitise and escape multiple parameters (id and filters[session_id] of single_statistics pa…EPSS 0.80%6.1CVE-2021-24765Getperfectsurvey perfect survey cross-site scripting vulnerabilityThe Perfect Survey WordPress plugin through 1.5.2 does not validate and escape the X-Forwarded-For header value before outputting it in the statistic…EPSS 1.4%9.8CVE-2026-76461Cisco AsyncOS email parsing SQL injection allows root command executionCisco AsyncOS Software for Cisco Secure Email Gateway fails to properly validate email parsing input, allowing crafted email messages containing mali…KEVEPSS 28%analysed9.3CVE-2026-9586Sangoma Switchvox unauthenticated SQL injection in /pa endpointSangoma Switchvox SMB Edition 8.3 (104997) fails to sanitize the PhoneIP value from XML content beginning with <PolycomIPPhone> before concatenating …KEVEPSS 19%analysed10.0CVE-2026-72898Metabase unauthenticated SQL injection in reset_password endpointMetabase exposes a database endpoint, '/reset_password', that fails to neutralize attacker-supplied SQL, allowing arbitrary SQL injection. Because th…KEVEPSS 19%analysed5.9CVE-2026-60137WordPress WP_Query author__not_in SQL injectionWordPress core fails to properly sanitise the author__not_in parameter of WP_Query in versions before 6.8.6, 6.9.5 and 7.0.2, allowing SQL injection …KEVEPSS 5.9%analysed9.8CVE-2026-9082Drupal core SQL injection in unauthenticated request pathDrupal core contains a SQL injection flaw (CWE-89) caused by improper neutralization of special elements in SQL commands. It affects multiple core br…KEVEPSS 16%analysed

Source: NIST National Vulnerability Database (record CVE-2021-24762), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.