CVE-2026-97642
Wp Parsidate <= 6.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'theme' Block Attribute
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| Parsi Date | بسته فارسی ساز وردپرس و ووکامرس پارسی دیتman4toman | affected: 0 to ≤ 6.4 | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-97642
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a88daa7b-dd50-4037-b354-bdabdac7bfbd?source=cve
- 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/Block/CalendarBlock.php#L40
- 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