Swatchly WooCommerce Variation Swatches for Products Missing Authorization Vulnerability

Vulnerability

A vulnerability exists in the Swatchly – WooCommerce Variation Swatches for Products plugin for WordPress, specifically in versions 1.2.8 to 1.4.0. The issue arises from a lack of proper capability checks in the ajax_dismiss function, allowing authenticated attackers with Subscriber-level access and above to unauthorizedly modify option values on the WordPress site. This could be exploited to introduce errors that disrupt site functionality or to manipulate specific settings, such as enabling user registration.

Impact

Exploitation of this vulnerability could lead to unauthorized changes in WordPress option values, potentially causing errors on the site or disrupting access for legitimate users. Additionally, it could be used to manipulate user registration settings.

Reproduction

To reproduce this vulnerability, an authenticated user with Subscriber-level access or higher can send a POST request to the WordPress site using the 'swatchly_notices' action. The request must include the notice ID, along with a nonce for verification. However, the plugin fails to properly validate the user's capability to perform this action, allowing unauthorized modifications to option values.

Remediation

Users are advised to update the Swatchly – WooCommerce Variation Swatches for Products plugin to version 1.4.1 or later.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
6.3
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.