Security Alert Summary
The EU Withdrawal and Legal Guarantee Compliance plugin for WordPress has a stored cross-site scripting (XSS) vulnerability in the handling of the ayudawp_euw_details parameter. Insufficient input sanitization and output escaping allow an unauthenticated attacker to persist JavaScript payloads by submitting a two-step withdrawal form after placing a guest Cash-on-Delivery order. The injected script will run when a user visits the affected page.
CVE Details
- CVE ID: CVE-2026-136900
- Affected component: EU Withdrawal and Legal Guarantee Compliance plugin for WordPress
- Affected versions: All versions up to and including 2.4.2
- Published: December 2, 2026 at 10:17:15 AM UTC
- Last modified: December 2, 2026 at 10:17:15 AM UTC
- CVSS v3.1: Base score 7.2 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Authentication / Privileges / User interaction: No authentication required; privileges required: none; user interaction: none
- Primary impact: Confidentiality: Low; Integrity: Low; Availability: None
- Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)
Technical Details
The vulnerability is a stored cross-site scripting condition caused by insufficient input sanitization and output escaping of the ayudawp_euw_details parameter. An unauthenticated attacker can place a guest Cash-on-Delivery order, obtain two nonces rendered on the public withdrawal form page, and submit the two-step withdrawal form to persist a script payload. When a user later views the injected page, the script executes in the user’s browser context.
The issue is present in code paths referenced in the plugin files, including includes/admin/metaboxes.php, includes/functions-handler.php, and includes/functions-woocommerce.php as indicated in the vulnerability report. The root cause is a lack of sufficient input validation and escaping on output for the named parameter and the public withdrawal form handling logic.
Impact is limited to what can be achieved via script execution in a victim’s browser, such as reading or modifying data accessible to the page context, performing actions available to the logged-in user in the browser, or harvesting values visible on the page. The vulnerability does not, by itself, indicate direct server-side code execution or full site takeover.
How This Could Impact Your Website
Consider a small ecommerce site using this plugin where the site owner, internal staff (editors or store managers), and an external contractor interact with orders and customer pages. An attacker could persist a script in a public withdrawal page by submitting the crafted form via a guest Cash-on-Delivery order. When a staff member or contractor opens the affected page in the admin or public site context, the injected script could run and potentially expose data available in that page view.
Practical consequences include exposure of internal user email addresses or other information shown on the page, and an increased risk of targeted phishing or social engineering against staff or customers if the attacker harvests contact details. The level of impact depends on the privileges and data available to users who view the injected page; the reported CVSS impacts confidentiality and integrity at a low level and availability not at all.
If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially contributor-level accounts and other low-privilege accounts that can interact with public forms.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins.
- Monitor site activity and logs for unusual behavior, including unexpected posts, order entries, or form submissions from guest accounts.
If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://plugins.trac.wordpress.org/browser/eu-withdrawal-compliance/tags/2.4.0/includes/admin/metaboxes.php#L133
- https://plugins.trac.wordpress.org/browser/eu-withdrawal-compliance/tags/2.4.0/includes/functions-handler.php#L201
- https://plugins.trac.wordpress.org/browser/eu-withdrawal-compliance/tags/2.4.0/includes/functions-handler.php#L28
- https://plugins.trac.wordpress.org/browser/eu-withdrawal-compliance/tags/2.4.0/includes/functions-handler.php#L281
- https://plugins.trac.wordpress.org/browser/eu-withdrawal-compliance/tags/2.4.0/includes/functions-woocommerce.php#L721
- https://plugins.trac.wordpress.org/changeset?old_path=%2Feu-withdrawal-compliance%2Ftags%2F2.4.2&new_path=%2Feu-withdrawal-compliance%2Ftags%2F2.4.3
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d607c5e0-a359-49de-a647-98b0954f0098?source=cve