CVE-2024-52460 Overview
CVE-2024-52460 is a reflected cross-site scripting (XSS) vulnerability [CWE-79] in the AtaraPay WooCommerce Payment Gateway plugin for WordPress. The flaw affects all versions of atarapay-woocommerce up to and including 2.0.13. Attackers can inject malicious scripts into pages generated by the plugin because user-supplied input is not properly neutralized during web page generation. Successful exploitation requires user interaction, such as clicking a crafted link, but no authentication is needed. The scope changes upon exploitation, meaning executed scripts can affect resources beyond the vulnerable component itself.
Critical Impact
Attackers can execute arbitrary JavaScript in a victim's browser, hijack sessions, steal payment-related data, or redirect WooCommerce customers to attacker-controlled pages.
Affected Products
- AtaraPay WooCommerce Payment Gateway plugin (atarapay-woocommerce)
- All versions from n/a through <= 2.0.13
- WordPress sites running WooCommerce with the AtaraPay integration
Discovery Timeline
- 2024-12-02 - CVE-2024-52460 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-52460
Vulnerability Analysis
The vulnerability stems from improper neutralization of input during web page generation within the AtaraPay WooCommerce Payment Gateway plugin. The plugin reflects request parameters into HTML responses without adequate output encoding or input sanitization. An attacker can craft a URL containing malicious JavaScript that executes in the victim's browser context when the link is opened.
Because the CVSS vector indicates scope change, injected scripts can act beyond the vulnerable component and reach the browser's broader security context. This enables theft of authentication cookies, WooCommerce session tokens, and personally identifiable information entered during checkout. Administrators visiting a crafted link risk account takeover of the WordPress site.
Refer to the Patchstack WordPress Vulnerability Report for the vulnerability record.
Root Cause
The plugin fails to apply WordPress sanitization functions such as esc_html(), esc_attr(), or sanitize_text_field() to request parameters before echoing them into rendered pages. This omission allows raw HTML and JavaScript payloads to reach the DOM.
Attack Vector
Exploitation occurs over the network and requires user interaction. An attacker delivers a crafted URL through phishing emails, malicious advertisements, or social media. When a user clicks the link, the reflected payload executes in their browser session against the vulnerable WordPress site.
No verified proof-of-concept code has been published. The vulnerability mechanism follows the standard reflected XSS pattern for WordPress plugins that echo request parameters without encoding.
Detection Methods for CVE-2024-52460
Indicators of Compromise
- Web server access logs containing request parameters with HTML tags, javascript: URIs, or event handler attributes such as onerror= and onload=
- Outbound requests from client browsers to unfamiliar domains immediately after visiting AtaraPay checkout endpoints
- Unexpected administrative actions on the WordPress site following an admin's visit to a crafted URL
Detection Strategies
- Inspect HTTP query strings and POST bodies targeting AtaraPay plugin endpoints for encoded script payloads such as %3Cscript%3E or %3Cimg
- Deploy web application firewall rules that flag reflected XSS patterns in parameters handled by the atarapay-woocommerce plugin
- Correlate referer headers pointing to external hosts with subsequent authenticated activity on the WordPress admin interface
Monitoring Recommendations
- Enable Content Security Policy (CSP) reporting to capture blocked inline script execution attempts
- Audit installed WordPress plugin versions weekly to identify sites still running atarapay-woocommerce 2.0.13 or earlier
- Monitor WooCommerce order and customer tables for anomalies that suggest session compromise
How to Mitigate CVE-2024-52460
Immediate Actions Required
- Deactivate the AtaraPay WooCommerce Payment Gateway plugin on any site running version 2.0.13 or earlier until a patched release is confirmed
- Force password rotation and session invalidation for WordPress administrators and WooCommerce operators
- Review recent orders and customer data for signs of interception or tampering
Patch Information
At the time of NVD publication, no fixed version is listed for the AtaraPay WooCommerce Payment Gateway plugin. Site owners should monitor the Patchstack advisory and the plugin vendor's release channel for a version above 2.0.13.
Workarounds
- Remove the plugin and switch to an alternative WooCommerce payment gateway until a patch is available
- Deploy a web application firewall rule that blocks requests containing <script>, javascript:, or common event handler strings targeting AtaraPay endpoints
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
# Example ModSecurity rule to block reflected XSS payloads to AtaraPay endpoints
SecRule REQUEST_URI "@contains atarapay" \
"chain,phase:2,deny,status:403,id:1005240,\
msg:'Potential CVE-2024-52460 reflected XSS attempt'"
SecRule ARGS "@rx (?i)(<script|javascript:|onerror=|onload=)" \
"t:none,t:urlDecodeUni"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

