Stored cross-site scripting in PagBank plugin for WooCommerce
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The martins56 PB Integrações (antigo PagBank Integrações) para WooCommerce plugin for WordPress is affected in versions from 0 through 5.1.6. Insufficient input sanitization and output escaping of the customer.name parameter (CWE-79) let stored scripts persist. An unauthenticated attacker can enter a script as a customer name on PagBank's hosted checkout page, which runs when a user opens the injected page.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for PB Integrações (antigo PagBank Integrações) para WooCommerce.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Timeline
- 2026-11-20 Threatist record created from CVE-2026-131582
- 2026-11-20 Alias added: GHSA-fgm5-4wmr-h65c
- 2026-11-20 CISA SSVC decision points changed
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d783a925-fb9a-490c-8b04-ade67c587fc8?source=cve
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Connect/Recurring/Admin/Subscriptions/SubscriptionDetails.php#L79
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Connect/Recurring/Admin/Subscriptions/SubscriptionDetails.php#L103
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Traits/ProcessPayment.php#L716
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Traits/ProcessPayment.php#L354
- https://plugins.trac.wordpress.org/browser/pagbank-connect/tags/5.1.6/src/Connect.php#L57
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3808657%40pagbank-connect&new=3808657%40pagbank-connect
More martins56 vulnerabilities
- TI-2025-09314 PagBank / PagSeguro Connect para WooCommerce <= 4.44.3 - Authenticated (Shop Manager+) SQL Injection CVSS 3.1MEDIUM 4.9
Sources
- CVE-2026-131582 · CVE Program
- CVE-2026-131582 · NVD
- FIRST EPSS
- GHSA-fgm5-4wmr-h65c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences