{
 "id": "WPSEC-2026-4039",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4039/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4039/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4039/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4039.json",
 "title": "Wp Parsidate <= 6.5.2 - Authenticated (Shop Manager+) SQL Injection via 'start_date' and 'end_date' Parameters",
 "description": "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.",
 "plugin": {
  "slug": "wp-parsidate",
  "name": "Wp Parsidate",
  "full_name": "Parsi Date | بسته فارسی ساز وردپرس و ووکامرس پارسی دیت",
  "wordpress_org": "https://wordpress.org/plugins/wp-parsidate/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-parsidate/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-parsidate"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.9,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "6.1",
    "from_inclusive": true,
    "to": "6.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 6.1 before 6.6"
  ]
 },
 "introduced_in": "6.1",
 "fixed_in": "6.6",
 "remediation": "Update to 6.6 or later.",
 "fix_released": "2026-11-25T22:26:18+00:00",
 "published": "2026-11-26T22:41:14+00:00",
 "updated": "2026-11-26T12:18:19.970073+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4039/",
  "https://plugins.svn.wordpress.org/wp-parsidate/tags/6.6/",
  "https://wordpress.org/plugins/wp-parsidate/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-parsidate",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-26"
 }
}