CVE-2022-0397 WPC Smart Wishlist for WooCommerce < 2.9.4 - Reflected Cross-Site Scripting
An authenticated attacker can execute arbitrary JavaScript in the victim's browser via the key parameter in the wishlist_quickview AJAX action.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-0397?
CVE-2022-0397 is a medium-severity cross-site scripting vulnerability in Unknown WPC Smart Wishlist for WooCommerce, published on 28 Mar 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The WPC Smart Wishlist for WooCommerce WordPress plugin before 2.9.4 does not sanitise and escape the key parameter before outputting it back in the wishlist_quickview AJAX action's response (available to any authenticated user), leading to a Reflected Cross-Site Scripting
Weakness: CWE-79
Which versions are affected by CVE-2022-0397?
It affects 1 product.
Products include Wpclever Wpc Smart Wishlist for Woocommerce.
How do I fix CVE-2022-0397?
No fix has been published for CVE-2022-0397 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-0397 being exploited?
There is no known exploitation of CVE-2022-0397 in the wild and no public exploit code.
Other vulnerabilities in Unknown WPC Smart Wishlist for WooCommerce
Sources
Also known as GHSA-43vw-pwr6-vmr7.