{
 "id": "WPSEC-2026-4209",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4209/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4209/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4209/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4209.json",
 "title": "Perfect Survey <= 1.6.0 - Authenticated (Subscriber+) SQL Injection via 'filters' Parameter",
 "description": "The perfect-survey plugin for WordPress is vulnerable to SQL Injection via the keys of the 'filters' parameter of the download_csv AJAX action in all versions up to, and including, 1.6.0. This is due to filter field names being passed only through sanitize_text_field() and concatenated directly into the WHERE clause of the statistics query in get_survey_data(), while the action only checks that the user is logged in. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries to existing queries and extract sensitive information from the database.",
 "plugin": {
  "slug": "perfect-survey",
  "name": "Perfect Survey",
  "full_name": "Perfect Survey",
  "wordpress_org": "https://wordpress.org/plugins/perfect-survey/",
  "advisories_url": "https://wpsec.com/vuln/plugin/perfect-survey/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/perfect-survey"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.0.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.0.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.0.0",
 "remediation": "Update to 2.0.0 or later.",
 "fix_released": "2026-11-27T17:51:05+00:00",
 "published": "2026-11-28T18:43:18+00:00",
 "updated": "2026-11-28T10:52:49.417494+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4209/",
  "https://plugins.svn.wordpress.org/perfect-survey/tags/2.0.0/",
  "https://wordpress.org/plugins/perfect-survey/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/perfect-survey",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-11-28"
 }
}