CVE-2026-142509: InPost PL <= 2.0.1 - Unauthenticated Stored Cross-Site Scripting via 'inpost-parcel-locker-id' Parameter
The InPost PL plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'extensions.inpost.inpost-parcel-locker-id (Store API) / parcelmachineid (classic)' parameter in all versions up to, and including, 2.0.1 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. The nopriv AJAX endpoint is accessible to unauthenticated attackers because the required nonce (easypacknonce) is emitted into page HTML for every guest via wplocalizescript, and the only remaining gate — an order key check — is trivially satisfied by an attacker operating on their own guest order. Exploitation by unauthenticated attackers requires that the classic (non-blocks) WooCommerce checkout is the active checkout surface. On a default installation, where that is not configured, the vulnerability requires attackers with subscriber-level access and above.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated exploitation?
Deployments using the classic, non-blocks WooCommerce checkout are exposed to unauthenticated exploitation. An attacker can use the publicly available nonce and create or operate on their own guest order to satisfy the order-key check.
Are default installations affected by unauthenticated attackers?
No. On a default installation where the classic non-blocks checkout is not configured as the active checkout surface, exploitation requires an attacker with subscriber-level access or higher.
What access does an attacker need when the blocks checkout is active?
When the classic checkout is not active, the available information states that subscriber-level access or above is required. No additional attacker prerequisites are provided.
What is the impact if exploitation succeeds?
An attacker can inject arbitrary web scripts that execute whenever a user visits an injected page. The affected inputs are extensions.inpost.inpost-parcel-locker-id through the Store API and parcel_machine_id through the classic checkout path.