CVE-2026-131582: PagBank / PagSeguro e Vindi para WooCommerce <= 5.1.6 - Unauthenticated Stored Cross-Site Scripting via 'customer.name' Parameter
The PagBank / PagSeguro e Vindi para WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'customer.name' parameter in all versions up to, and including, 5.1.6 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 payload can be planted via the legitimate hosted-checkout (Checkout PB) flow simply by entering it as a customer name on PagBank's payment page, requiring no hash brute-forcing whatsoever; the woocommerceapirmpsnotif webhook path is additionally exploitable because its only gate is a 5-character (20-bit) truncated wphash() that is trivially brute-forceable.
Affected Software
Event History
Frequently Asked Questions
Which installations are affected?
All versions of the PagBank / PagSeguro e Vindi para WooCommerce WordPress plugin up to and including 5.1.6 are affected.
Does exploitation require an authenticated WordPress account or user interaction?
No. The vulnerability can be exploited by an unauthenticated attacker, and the affected vector is network-accessible with low attack complexity. A user must later access a page containing the injected payload for the stored script to execute.
How can an attacker plant the malicious payload?
An attacker can enter a script payload as the customer name during PagBank's legitimate hosted-checkout (Checkout PB) flow; no hash brute-forcing is required for this path. The woocommerce_api_rm_ps_notif webhook path is also exploitable because it relies only on a 5-character truncated wp_hash() value that can be brute-forced.
What is the potential impact if the issue is exploited?
Injected scripts can execute in the browser of users who visit an affected injected page. The published severity vector indicates low confidentiality and integrity impact, with no availability impact.