.. / CVE-2022-0234

Exploit for WordPress WOOCS < 1.3.7.5 - Cross-Site Scripting (CVE-2022-0234)

Description:

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.

Nuclei Template

View the template here CVE-2022-0234.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-0234.yaml
Copy

References:

https://wpscan.com/vulnerability/fd568a1f-bd51-41bb-960d-f8573b84527b
https://nvd.nist.gov/vuln/detail/CVE-2022-0234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0234
https://github.com/ARPSyndicate/kenzer-templates
https://plugins.trac.wordpress.org/changeset/2659191