Wp Parsidate <= 6.5.2 - Authenticated (Shop Manager+) SQL Injection via 'start_date' and 'end_date' Parameters
- ID
- WPSEC-2026-4039
- Plugin
- Parsi Date | بسته فارسی ساز وردپرس و ووکامرس پارسی دیت (wp-parsidate)
- Affected
- from 6.1 before 6.6
- Remediation
- Update to 6.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-89
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-26
- Attack surface
- Wp Parsidate on WPSec AttackSurface
- Fix released
- Published
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.
References
- https://wpsec.com/vuln/WPSEC-2026-4039/
- https://plugins.svn.wordpress.org/wp-parsidate/tags/6.6/
- https://wordpress.org/plugins/wp-parsidate/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS