{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4039",
 "modified": "2026-11-26T22:41:14Z",
 "published": "2026-11-26T22:41:14Z",
 "summary": "Wp Parsidate <= 6.5.2 - Authenticated (Shop Manager+) SQL Injection via 'start_date' and 'end_date' Parameters",
 "details": "The Parsi Date plugin for WordPress is vulnerable to SQL Injection via the 'start_date' and 'end_date' parameters of the legacy WooCommerce reports in all versions up to, and including, 6.5.2, due to insufficient validation of the user-supplied dates and the lack of a prepared statement. The values are only passed through sanitize_text_field() and the plugin's Jalali-to-Gregorian conversion, which returns any value that is not a date unchanged, and the result is then spliced into the WHERE clause of the WooCommerce order report query. This makes it possible for authenticated attackers with Shop Manager-level access and above to append additional SQL queries to existing queries and extract sensitive information from the database.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-parsidate"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "6.1"
      },
      {
       "fixed": "6.6"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 6.1 before 6.6"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4039/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-parsidate/tags/6.6/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-parsidate/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4039/",
  "cwe_ids": [
   "CWE-89"
  ],
  "vulnerability_type": "SQLI",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
