CVE-2022-0234
WOOCS < 1.3.7.5 - Reflected Cross-Site Scripting
Record summary
CVE-2022-0234 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
The WOOCS WordPress plugin before 1.3.7.5 does not sanitise and escape the woocs_in_order_currency parameter of the woocs_get_products_price_html AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response, leading to a Reflected Cross-Site Scripting
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
WOOCS – Currency Switcher for WooCommerce. Professional and Free multi currency plugin – Pay in selected currency | CVE List | 1.3.7.5 to < 1.3.7.5 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMWordPress WOOCS < 1.3.7.5 - Cross-Site ScriptingCVSS 6.1
WordPress WOOCS plugin before 1.3.7.5 is susceptible to cross-site scripting. The plugin does not sanitize and escape the woocs_in_order_currency parameter of the woocs_get_products_price_html AJAX action, available to both unauthenticated and authenticated users, before outputting it back in the response. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
Remediation
Update the WordPress WOOCS plugin to version 1.3.7.5 or later to mitigate the XSS vulnerability.
Source: ProjectDiscovery