Vulnerability in پارسی دیت – Parsi Date — CVE-2026-97642
MediumSeverity
0.3%Estimated exploit probability
100,000+ sitesInstalls
6.5Fixed in
What to do now
Update پارسی دیت – Parsi Date to 6.5 or later.
Affected versions
- Everything up to and including 6.4
Affected: پارسی دیت – Parsi Date (plugin, wp-parsidate)
What the vulnerability is
The Wp Parsidate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the calendar Gutenberg block's 'theme' attribute in versions up to, and including, 6.4. This is due to insufficient input sanitization and output escaping on the block attribute value which is concatenated directly into an HTML class attribute in the printCalendar() function without esc_attr(). This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Sources
- https://plugins.trac.wordpress.org/browser/wp-parsidate/tags/6.4/inc/Block/CalendarBlock.php#L40
- https://plugins.trac.wordpress.org/browser/wp-parsidate/tags/6.4/inc/Core/Calendar.php#L146
- https://plugins.trac.wordpress.org/browser/wp-parsidate/tags/6.4/inc/Core/Calendar.php#L325
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3775046%40wp-parsidate&new=3775046%40wp-parsidate
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a88daa7b-dd50-4037-b354-bdabdac7bfbd?source=cve