CVE-2024-12622: WordPress Simple Shopping Cart <= 5.0.7 - Authenticated (Contributor+) Stored Cross-Site Scripting
The WordPress Simple Shopping Cart plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wpcartbutton' and 'wpcartdisplayproduct' shortcodes in all versions up to, and including, 5.0.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-12622?
CVE-2024-12622 has a moderate severity rating due to its stored cross-site scripting vulnerability.
How do I fix CVE-2024-12622?
To fix CVE-2024-12622, update the WordPress Simple Shopping Cart plugin to a version beyond 5.0.7.
Which versions of the WordPress Simple Shopping Cart are affected by CVE-2024-12622?
CVE-2024-12622 affects all versions of the WordPress Simple Shopping Cart plugin up to and including version 5.0.7.
What type of vulnerability is CVE-2024-12622?
CVE-2024-12622 is a stored cross-site scripting (XSS) vulnerability.
What components are vulnerable in CVE-2024-12622?
The 'wp_cart_button' and 'wp_cart_display_product' shortcodes are the components vulnerable in CVE-2024-12622.