VYPR
Unrated severityNVD Advisory· Published Sep 29, 2023· Updated Apr 28, 2026

WordPress WooCommerce PensoPay Plugin <= 6.3.1 is vulnerable to Cross Site Scripting (XSS)

CVE-2023-41691

Description

Unauth. Reflected Cross-Site Scripting (XSS) vulnerability in Pensopay WooCommerce PensoPay plugin <= 6.3.1 versions.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing input sanitization of the `pensopay_action` parameter allows reflected Cross-Site Scripting."

Attack vector

An attacker can craft a malicious URL containing a JavaScript payload in a query parameter that the plugin reflects without sanitization. Since the vulnerability requires no authentication, the attacker simply needs to trick a logged-in WordPress administrator or user into clicking the crafted link. When the victim's browser renders the page, the injected script executes in the context of the WordPress admin panel, potentially allowing the attacker to steal session cookies, perform administrative actions, or inject further malicious content. [CWE-79]

Affected code

The vulnerability affects the Pensopay WooCommerce PensoPay plugin versions <= 6.3.1. The advisory title indicates an unauthenticated reflected Cross-Site Scripting (XSS) vulnerability, meaning the plugin fails to properly sanitize or escape user-supplied input before reflecting it back in the response.

What the fix does

The advisory does not include a published patch diff, but the changelog entry for version 6.3.2 states: 'Fix: Sanitize pensopay_action in pensopay_manual_transaction_actions handler' [ref_id=1]. This indicates the fix adds proper sanitization (e.g., using WordPress functions like `sanitize_text_field()` or `esc_html()`) to the `pensopay_action` parameter before it is output, preventing the injection of arbitrary HTML or JavaScript. Users should update to version 6.3.2 or later to remediate the vulnerability.

Preconditions

  • inputThe attacker must trick a victim into clicking a crafted URL that includes a malicious query parameter reflected by the plugin.
  • authNo authentication is required to trigger the reflection, but the victim must be logged into WordPress for the XSS to have impact in the admin context.
  • configThe vulnerable plugin version must be <= 6.3.1.

Generated on Jun 17, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

1

News mentions

0

No linked articles in our index yet.