CVE-2026-133409 in Parsigate Plugin
Summary
by MITRE • 11/26/2026
The Parsigate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'trackId (Zibal). Equivalent unauthenticated fields for other gateways (e.g. ZarinPal 'Authority', Sep 'RefNum') are logged the same way.' parameter in all versions up to, and including, 1.2.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the non-default 'ParsiGate Log' option to be enabled in plugin settings, at least one WooCommerce order placed via a Parsigate gateway (e.g. Zibal) that remains in a pending state, and an administrator to subsequently view the Tools > ParsiGate Log page.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified within the Parsigate WordPress plugin represents a significant security risk stemming from insufficient input sanitization and output escaping mechanisms. This flaw allows for Stored Cross-Site Scripting attacks through specific parameters associated with payment gateway integrations, most notably the trackId parameter used by Zibal payments. The issue is not isolated to this single field; equivalent unauthenticated fields in other supported gateways, such as Authority for ZarinPal and RefNum for Sep, are susceptible to the same exploitation vector due to identical handling of user-supplied data within the plugin's logging infrastructure.
The core technical flaw lies in how the plugin processes and displays transaction logs. When a payment is initiated through one of these supported gateways, sensitive or arbitrary input provided by the attacker during the checkout process is stored without adequate validation. Crucially, this malicious content becomes executable when an administrator accesses the Tools > ParsiGate Log page within the WordPress dashboard. The execution occurs because the plugin fails to escape special HTML characters in the logged data before rendering it in the browser context of the administrative interface. This lack of proper encoding allows injected JavaScript code to run with the privileges of the viewing user, effectively bypassing standard security controls that rely on content type restrictions and same-origin policies.
Exploitation of this vulnerability requires a specific sequence of conditions to be met by an unauthenticated attacker. First, the non-default ParsiGate Log option must be enabled in the plugin settings, which activates the logging functionality where the flaw resides. Second, at least one WooCommerce order placed via a vulnerable gateway like Zibal must remain in a pending state, ensuring that the malicious payload is retained in the log rather than being overwritten or removed upon completion. Finally, an administrator with sufficient privileges to view the logs page must access this interface while the compromised data is present. Once these conditions are satisfied, any user viewing the log will trigger the execution of the injected scripts within their browser session.
The operational impact of this vulnerability extends beyond simple script injection. Since the attack targets administrative interfaces and relies on stored persistence, successful exploitation can lead to full account compromise if the administrator's session is hijacked or credentials are stolen via keyloggers embedded in the malicious script. Attackers could also use this vector to perform actions on behalf of the administrator, such as modifying site settings, installing additional malware plugins, or exfiltrating sensitive customer data stored within the WordPress database. The persistent nature of stored XSS means that a single successful injection can affect multiple administrators who view the log page over time, amplifying the potential damage significantly compared to reflected variants.
From an industry standard perspective, this vulnerability aligns with CWE-79, which classifies improper neutralization of input during web page generation as Cross-site Scripting. The attack vector corresponds to ATT&CK technique T1059, specifically sub-techniques involving command and script interpretation through browser-based execution. Furthermore, the requirement for an administrator to view the payload before it executes places this firmly in the category of stored attacks rather than reflected ones, increasing its severity rating due to the reduced effort required by the attacker after initial injection.
Mitigation strategies should focus on immediate remediation and long-term defensive coding practices. The most effective solution is to update the Parsigate plugin to a version where these input sanitization and output escaping issues have been resolved by the developers. Until an official patch is available, administrators can mitigate risk by disabling the non-default ParsiGate Log option if it is not strictly necessary for operations. Additionally, implementing strict Content Security Policy headers that restrict script execution sources can help limit the impact of any successfully injected scripts. Developers should also adopt a principle of least privilege and ensure all user-supplied data is rigorously validated against expected formats before storage and consistently escaped using context-aware methods when rendered in HTML contexts to prevent similar vulnerabilities in future updates or related plugins.