Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor authentication required (PR:L); victim must browse to the infected product page to trigger the stored payload (UI:R); browser scope change applies (S:C).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The Advanced Woo Labels - Product Labels & Badges for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'bg_color' parameter in all versions up to, and including, 2.48 due to insufficient input sanitization and output escaping. 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.
AnalysisAI
Stored Cross-Site Scripting in the Advanced Woo Labels - Product Labels & Badges for WooCommerce WordPress plugin (all versions through 2.48) allows authenticated contributors to permanently inject malicious JavaScript via the 'bg_color' parameter into product label definitions. Insufficient input sanitization across multiple rendering functions - confirmed at specific lines in class-awl-label-view.php, awl-functions.php, and class-awl-admin.php - means the payload persists in the database and executes in any visitor's browser on affected product pages. No active exploitation has been confirmed (not in CISA KEV), and no public POC has been identified; a fix was committed in WordPress SVN changeset 3627180.
Technical ContextAI
The plugin (CPE: cpe:2.3:a:mihail-barinov:advanced_woo_labels_-_product_labels_&_badges_for_woocommerce:*:*:*:*:*:*:*:*) extends WooCommerce by rendering configurable product badge overlays, including inline CSS color values supplied by contributors. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: the bg_color value is stored in the database without sanitization and later emitted into HTML/CSS output without escaping. Wordfence identified at least six distinct vulnerable output points across class-awl-label-view.php (lines 332, 434, 449, 560), class-awl-admin.php (line 123), and awl-functions.php (line 93). The CVSS scope-change flag (S:C) reflects that the injected script executes in the victim's browser context - a different security boundary from the WordPress server - enabling cross-context impact such as session token exfiltration or DOM manipulation.
RemediationAI
Update the Advanced Woo Labels plugin to a version newer than 2.48. A fix was committed to the WordPress plugin SVN in changeset 3627180 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3627180%40advanced-woo-labels&new=3627180%40advanced-woo-labels); however, the exact patched release version number is not independently confirmed from the available data - verify the current available version in the WordPress plugin repository before updating. As an interim workaround, restrict contributor-level role assignments on any WordPress installation running this plugin, ensuring only trusted users hold contributor or higher roles; this eliminates the attack surface but may disrupt publishing workflows. Alternatively, temporarily deactivating the plugin prevents exploitation with no data loss, at the cost of losing product label display functionality. Implementing a web application firewall rule to block script-like content in CSS color parameters (e.g., targeting requests containing bg_color values with parentheses or script keywords) is a partial compensating control but may produce false positives.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51746
GHSA-p5xx-cr4j-pcxv