Skip to main content

CVE-2021-34664: CWE-79 Cross-site Scripting (XSS) in Moova for WooCommerce Moova for WooCommerce

Medium
VulnerabilityCVE-2021-34664cvecve-2021-34664cwe-79
Published: Mon Aug 16 2021 (08/16/2021, 18:22:43 UTC)
Source: CVE
Vendor/Project: Moova for WooCommerce
Product: Moova for WooCommerce

Description

The Moova for WooCommerce WordPress plugin is vulnerable to Reflected Cross-Site Scripting via the lat parameter in the ~/Checkout/Checkout.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 3.5.

AI-Powered Analysis

AILast updated: 07/08/2025, 21:00:31 UTC

Technical Analysis

CVE-2021-34664 is a Reflected Cross-Site Scripting (XSS) vulnerability identified in the Moova for WooCommerce WordPress plugin, specifically affecting versions up to and including 3.5. The vulnerability arises from improper sanitization of the 'lat' parameter in the ~/Checkout/Checkout.php file. An attacker can craft a malicious URL containing a script payload in the 'lat' parameter, which when visited by a user, causes the injected script to execute in the context of the victim's browser. This reflected XSS does not require prior authentication but does require user interaction, such as clicking a malicious link. The vulnerability impacts confidentiality and integrity by enabling attackers to steal session cookies, hijack user accounts, perform actions on behalf of users, or redirect victims to malicious sites. The CVSS 3.1 base score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial impact on confidentiality and integrity but no impact on availability. No known exploits in the wild have been reported. The vulnerability is classified under CWE-79, a common and well-understood XSS weakness. Since the plugin integrates with WooCommerce, a popular e-commerce platform on WordPress, the vulnerability could be leveraged to target online stores using this plugin, potentially impacting customers and store administrators.

Potential Impact

For European organizations operating e-commerce websites using WordPress with the Moova for WooCommerce plugin, this vulnerability poses a risk of client-side attacks that can lead to theft of customer credentials, session hijacking, and unauthorized actions on user accounts. This can result in loss of customer trust, reputational damage, and potential regulatory consequences under GDPR if personal data is compromised. Attackers could also use the vulnerability to inject malicious scripts that redirect users to phishing sites or malware distribution points, increasing the risk of broader compromise. Since WooCommerce is widely used across Europe, especially by small and medium-sized enterprises (SMEs), the impact could be significant in sectors relying on online sales. However, the requirement for user interaction and the absence of known active exploits somewhat limit immediate widespread exploitation. Nevertheless, the vulnerability remains a credible threat vector for targeted attacks or opportunistic exploitation.

Mitigation Recommendations

Specific mitigation steps include: 1) Immediate update of the Moova for WooCommerce plugin to a version where this vulnerability is patched; if no patch is available, consider disabling the plugin until a fix is released. 2) Implement Web Application Firewall (WAF) rules that detect and block suspicious payloads in the 'lat' parameter, especially script tags or event handlers. 3) Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in the browser context. 4) Conduct regular security audits and penetration testing focusing on input validation and sanitization in all e-commerce related plugins. 5) Educate users and administrators about the risks of clicking untrusted links, especially those containing URL parameters. 6) Monitor web server logs for unusual requests targeting the vulnerable parameter to detect potential exploitation attempts. 7) For organizations with custom development, ensure all user inputs are properly sanitized and encoded before output to prevent XSS.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2021-06-10T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6830d58c0acd01a249275505

Added to database: 5/23/2025, 8:07:40 PM

Last enriched: 7/8/2025, 9:00:31 PM

Last updated: 8/11/2025, 11:19:31 PM

Views: 14

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats