Skip to main content

Custom Payment Gateways for WooCommerce EUVDEUVD-2026-40902

| CVE-2026-7517 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 Wordfence GHSA-6q84-x2rr-737v
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach store checkout endpoint
  2. Delivery
    Submit crafted checkout POST
  3. Exploit
    Inject script via alg_wc_cpg_input_fields
  4. Install
    Payload stored with order data
  5. C2
    Admin views injected page
  6. Execute
    Script runs in admin session
  7. Impact
    Hijack account or actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires only that a WordPress site have the Custom Payment Gateways for WooCommerce plugin (version ≤ 2.1.0) installed and active with a reachable WooCommerce checkout; the description explicitly states it works even when no custom input fields are configured, so no non-default plugin setup is needed. The attacker sends a crafted checkout POST request supplying a malicious value in the 'alg_wc_cpg_input_fields' parameter as an unauthenticated guest (PR:N confirms no authentication). The key limiting factor is that this is stored XSS: the injected payload does not execute at injection time but only when a subsequent victim - in practice a logged-in administrator or staff user viewing the poisoned order/page - renders the stored data, so realized impact depends on a privileged user opening the affected page.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, 7.2 High) reflects a remote, low-complexity, unauthenticated attack with a scope change into the victim's browser context and low confidentiality/integrity impact - consistent with the description stating unauthenticated guests can trigger it with no plugin-specific configuration. No EPSS score, KEV entry, or POC was provided, so likelihood signals are limited: absence of KEV and no public exploit suggest this is not currently subject to mass exploitation, but stored XSS in WooCommerce plugins is a well-understood, easily weaponized class, so the low real-world-exploit signal should not be read as low exploitability. One caveat to verify: the vector marks UI:N, yet a stored-XSS payload only fires when a victim (e.g., an admin) later views the injected page - defenders should treat the practical trigger as requiring a privileged user to open the poisoned order/page, which slightly tempers the raw score. Net: a genuine priority for sites running this plugin because the injection step needs no authentication and no special setup.

Exploit ScenarioDerived

An unauthenticated attacker submits a crafted checkout POST request to a store running the plugin, placing a malicious <script> payload in the 'alg_wc_cpg_input_fields' parameter, which is stored with the order. When a store administrator later opens that order in the WordPress dashboard, the script executes in their authenticated session and can steal cookies, forge admin actions, or create a new admin account. No exploit code is publicly identified, but the attack requires only a single crafted HTTP request and no authentication or special plugin configuration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Stored cross-site scripting in the Custom Payment Gateways for WooCommerce WordPress plugin (all versions through 2.1.0) lets unauthenticated guests plant persistent JavaScript by submitting a crafted checkout POST request via the 'alg_wc_cpg_input_fields' parameter. The injected script executes in the browser of any user - including store administrators - who later views the affected page, enabling session/account compromise in the WordPress admin context. No public exploit has been identified at time of analysis and the flaw is not listed in CISA KEV, but the unauthenticated, no-configuration-required attack path makes it materially exploitable against default installs.

RemediationAI

Upstream fix available (committed via WordPress plugin SVN changeset 3578163, https://plugins.trac.wordpress.org/changeset?old=3578163%40custom-payment-gateways-woocommerce&new=3578163%40custom-payment-gateways-woocommerce); a released patched version above 2.1.0 is not independently confirmed from the provided data, so administrators should update to the latest available release of Custom Payment Gateways for WooCommerce and verify the installed version is newer than 2.1.0. Review the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/1defa728-9f9d-4e8f-8f6c-432c615da7f5?source=cve) for the confirmed fixed version. If an update cannot be applied immediately, compensating controls include deploying a WAF rule (e.g., Wordfence) to block script/HTML metacharacters in the 'alg_wc_cpg_input_fields' checkout parameter, and, if the custom-payment-gateway input fields feature is not in use, deactivating the plugin entirely - noting this removes any custom checkout payment gateways the store depends on. As a mitigation for admin exposure, avoid opening suspicious orders in the WordPress dashboard and enforce strong admin session controls, since the payload fires in the admin's browser.

Affected VersionsENISA

Custom Payment Gateways for WooCommerce 0 ≤2.1.0

Affected Packages

euvd custom_payment_gateways_for_woocommerce no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a third-party WooCommerce extension (vendor 'dhruvin', CPE cpe:2.3:a:dhruvin:custom_payment_gateways_for_woocommerce) that lets store owners attach custom input fields to payment gateways at checkout. The vulnerability is CWE-79 (Improper Neutralization of Input During Web Page Generation): user-controlled data supplied through the checkout flow is stored and later rendered without sufficient sanitization on input or escaping on output. Wordfence's references point at class-alg-wc-custom-payment-gateways-input-fields.php (lines 86, 241, 264), the code responsible for processing and echoing these input-field values, which is where the untrusted 'alg_wc_cpg_input_fields' data reaches the page unescaped. Because the payload is persisted server-side and executes when the order/checkout data is subsequently viewed (typically in the admin order screen), this is stored rather than reflected XSS.

Know when Custom Payment Gateways For Woocommerce gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Unauthenticated remote injection needs no auth or special config (PR:N/AC:L), stored XSS executing in a privileged browser context yields scope change (S:C) with limited confidentiality/integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Custom Payment Gateways for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'alg_wc_cpg_input_fields' parameter in all versions up to, and including, 2.1.0 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. This vulnerability is exploitable by unauthenticated guest users submitting a crafted checkout POST request, requiring no custom input fields to be configured in the plugin.

Executive ViewAI

Why It Matters

The Custom Payment Gateways for WooCommerce plugin (versions through 2.1.0) contains a stored cross-site scripting vulnerability that allows any website visitor to inject malicious code into checkout pages without authentication, which then executes when administrators access the affected area. Attackers could compromise WordPress admin accounts and gain control of the entire payment system and customer data. Organizations using this plugin face immediate risk of unauthorized administrative access and payment processing compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable plugin if operationally feasible; (2) Deploy WAF rules to filter malicious payloads in 'alg_wc_cpg_input_fields'; (3) Restrict checkout functionality to authenticated users only; (4) Implement application-level input sanitization for payment form parameters; (5) Enforce admin access controls and require multi-factor authentication for WordPress administrators; (6) Monitor logs for injected JavaScript and audit admin accounts for unauthorized sessions; (7) Conduct daily security scans of stored checkout data for suspicious content.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche third-party WooCommerce payment plugin, limited install base
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy