Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-131582: high-severity vulnerability (CVSS 7.2) in martins56 PB Integrações (antigo PagBank Integrações) para WooCommerce.
What happened
Original description from the source: 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 woocommerce_api_rm_ps_notif webhook path is additionally exploitable because its only gate is a 5-character (20-bit) truncated wp_hash() that is trivially brute-forceable.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
martins56 PB Integrações (antigo PagBank Integrações) para WooCommerce <= 5.1.6
| Product | Versions | Fixed in |
|---|---|---|
| martins56 PB Integrações (antigo PagBank Integrações) para WooCommerce | <= 5.1.6 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d783a925-fb9a-490c-8b04-ade67c587fc8?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Connect/Recurring/Admin/Subscriptions/SubscriptionDetails.php#L79 — CVE Program
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Connect/Recurring/Admin/Subscriptions/SubscriptionDetails.php#L103 — CVE Program
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Traits/ProcessPayment.php#L716 — CVE Program
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Traits/ProcessPayment.php#L354 — CVE Program
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Connect.php#L57 — CVE Program
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3808657%40pagbank-connect&new=3808657%40pagbank-connect — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.