What the vulnerability does
01Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPFactory Change Add to Cart Button Text for WooCommerce add-to-cart-button-labels-for-woocommerce allows Stored XSS.This issue affects Change Add to Cart Button Text for WooCommerce: from n/a through <= 2.2.2.
Explanation of Vulnerability in Simple Terms
02Summary
The Change Add to Cart Button Text for WooCommerce plugin through version 2.2.2 contains a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts into the plugin's settings. When other users, including administrators, view affected pages, the injected code executes in their browsers. This can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim.
What an attacker can do
03Attacker Capabilities
Inject and execute malicious JavaScript in the browsers of site visitors and administrators.
Potential impact on your site
04Site Impact
Administrators and customers could have sessions hijacked, credentials stolen, or be tricked into performing unwanted actions on your store.
Conditions required to exploit
05Prerequisites
Attacker needs a low-privilege user account (e.g., subscriber or contributor) and the victim must view a page containing the injected content.
Key dates
06Disclosure timeline
May 19, 2025
CVE published
April 28, 2026
Record updated