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

Description source: CVE List

Exploitation context

Available material

Nuclei templates
1

Affected products and versions

1
ProductSourceVersion rangeStatus

WOOCS – Currency Switcher for WooCommerce. Professional and Free multi currency plugin – Pay in selected currency

CVE List1.3.7.5 to < 1.3.7.5affected

Nuclei templates

1
ProjectDiscoveryMEDIUMWordPress 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.

WeaknessesCWE-79
AuthorsAkincibor
Template tagscve2022cvewpscanwordpresswp-pluginwpxsswoocspluginusvuln
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CPE: cpe:2.3:a:pluginus:woocs:*:*:*:*:*:wordpress:*:*
Google: inurl:"wp-content/plugins/woocommerce-currency-switcher"

Source: ProjectDiscovery

References

3