CVE-2025-31032

WordPress Pagopar – WooCommerce Gateway plugin <= 2.7.1 - CSRF to Stored XSS vulnerability

Published Apr 9, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Cross-Site Request Forgery (CSRF) vulnerability in Pagopar - Grupo M S.A. Pagopar – WooCommerce Gateway pagopar-woocommerce-gateway allows Stored XSS.This issue affects Pagopar – WooCommerce Gateway: from n/a through <= 2.7.1.

Analysis

AI-generated

Technical impact

A Cross‑Site Request Forgery flaw in the Pagopar – WooCommerce Gateway plugin lets an attacker craft a request that the plugin accepts without validating a CSRF token. The malicious payload, typically JavaScript, is stored within the website’s content, causing the script to execute for every user who views the affected page. This stored XSS can lead to session hijacking, defacement, or data exfiltration when visitors load the compromised content.

Affected Systems

The plugin Pagopar – WooCommerce Gateway for WordPress, developed by Pagopar - Grupo M S.A., is impacted. All releases through version 2.7.1 are vulnerable; no other WordPress core or plugins are directly affected according to CNA data.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, while the EPSS score of less than 1% suggests that exploitation is presently unlikely. The vulnerability is not listed in the CISA KEV catalog, implying no known widespread exploitation. Based on the description, the likely attack vector is a crafted request that the plugin accepts without validating a CSRF token, allowing an injector to store the script; the stored script will run for any subsequent visitor. Proper request validation using unique nonces, or upgrading to a fixed version, is essential to mitigate this risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Pagopar – WooCommerce Gateway plugin to any version newer than 2.7.1 to apply the vendor’s fix that removes the stored XSS vector.
  • As a temporary defense, disable the plugin or restrict its use to administrator accounts until the update is applied.
  • Ensure that all form submissions to the plugin validate a unique CSRF nonce; if custom code is added, incorporate request validation to guard against future exploitation.

Generated by OpenCVE AI on May 2, 2026 at 08:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-10650 Cross-Site Request Forgery (CSRF) vulnerability in Pagopar - Grupo M S.A. Pagopar &#8211; WooCommerce Gateway allows Stored XSS. This issue affects Pagopar &#8211; WooCommerce Gateway: from n/a through 2.7.1.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in Pagopar - Grupo M S.A. Pagopar &#8211; WooCommerce Gateway allows Stored XSS. This issue affects Pagopar &#8211; WooCommerce Gateway: from n/a through 2.7.1. Cross-Site Request Forgery (CSRF) vulnerability in Pagopar - Grupo M S.A. Pagopar – WooCommerce Gateway pagopar-woocommerce-gateway allows Stored XSS.This issue affects Pagopar – WooCommerce Gateway: from n/a through <= 2.7.1.
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in Pagopar - Grupo M S.A. Pagopar &#8211; WooCommerce Gateway allows Stored XSS. This issue affects Pagopar &#8211; WooCommerce Gateway: from n/a through 2.7.1.
Title WordPress Pagopar – WooCommerce Gateway plugin <= 2.7.1 - CSRF to Stored XSS vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:12 PM
Reserved
Mar 26, 2025, 9:23 AM
Status
Deferred
Published
Apr 9, 2025, 5:15 PM
Modified
Jun 17, 2026, 9:09 AM