Skip to main content
Vulnerability Database/CVE-2025-26749

CVE-2025-26749: WooCommerce Product Tabs Stored XSS Flaw

CVE-2025-26749 is a stored cross-site scripting vulnerability in WPFactory Additional Custom Product Tabs for WooCommerce plugin affecting versions up to 1.7.0. This article covers technical details, security impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-26749 Overview

CVE-2025-26749 is a stored cross-site scripting (XSS) vulnerability in the WPFactory Additional Custom Product Tabs for WooCommerce plugin for WordPress. The flaw affects all plugin versions up to and including 1.7.0. An authenticated user with low-level privileges can inject malicious script content that persists in the database and executes in the browsers of users who view affected product pages. The vulnerability is categorized under [CWE-79] (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Attackers with low-privilege access can inject persistent JavaScript into WooCommerce product tabs, enabling session theft, administrative action hijacking, and client-side redirection against store visitors and administrators.

Affected Products

  • WPFactory Additional Custom Product Tabs for WooCommerce (product-tabs-for-woocommerce) versions up to and including 1.7.0
  • WordPress sites running WooCommerce with this plugin installed
  • Any downstream WooCommerce store relying on the plugin for product tab rendering

Discovery Timeline

  • 2025-04-15 - CVE-2025-26749 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-26749

Vulnerability Analysis

The vulnerability is a stored XSS flaw in the Additional Custom Product Tabs for WooCommerce plugin. The plugin accepts user-supplied input intended for custom product tab content but fails to sufficiently neutralize HTML and JavaScript characters before rendering that input on product pages. Because the payload persists in the WordPress database, every subsequent request to an affected product page triggers execution of the attacker's script in the victim's browser.

Exploitation requires an authenticated session with privileges to edit product tab content and relies on user interaction, such as a shop visitor or administrator loading a product page. The scope change in the vulnerability vector indicates the injected script executes under a security context different from the vulnerable component, affecting other users of the WordPress site.

Root Cause

The root cause is improper neutralization of input during web page generation. Input submitted through the plugin's tab configuration interface is stored and later rendered without adequate output encoding or sanitization through functions such as wp_kses_post or esc_html. This allows arbitrary HTML elements, including <script> tags and event handlers, to be embedded in the generated markup.

Attack Vector

The attack vector is network-based and requires an authenticated contributor-level or higher account. An attacker crafts a product tab containing a JavaScript payload and saves it through the plugin's administrative interface. When a legitimate user, including a WooCommerce administrator, visits the affected product page, the browser parses and executes the injected script. Typical post-exploitation activities include cookie theft, forced administrative actions through forged requests, credential harvesting via injected forms, and malicious redirects.

No verified public exploit code is available at the time of writing. See the Patchstack WordPress Plugin Vulnerability advisory for additional technical details.

Detection Methods for CVE-2025-26749

Indicators of Compromise

  • Presence of <script> tags, javascript: URIs, or inline event handlers such as onerror, onclick, or onload within WooCommerce product tab content stored in wp_postmeta or plugin-specific tables.
  • Unexpected outbound requests from browsers rendering product pages to attacker-controlled domains.
  • WordPress audit log entries showing product tab edits performed by low-privilege accounts not normally responsible for catalog management.

Detection Strategies

  • Query the WordPress database for stored tab content containing HTML tags, event handler attributes, or encoded payload fragments such as &#x or \\u003c.
  • Deploy a web application firewall rule set that inspects WooCommerce administrative POST requests for XSS payload patterns.
  • Review browser console errors and Content Security Policy (CSP) violation reports for script sources inconsistent with the site's expected origins.

Monitoring Recommendations

  • Enable WordPress activity logging to capture product and tab modification events with user attribution.
  • Monitor web server access logs for suspicious authenticated requests to admin-ajax.php and plugin endpoints handling tab persistence.
  • Alert on new or modified records in the plugin's data tables outside of scheduled catalog update windows.

How to Mitigate CVE-2025-26749

Immediate Actions Required

  • Audit all user accounts with product editing privileges and remove unnecessary access.
  • Inspect existing custom product tabs for malicious HTML or JavaScript and sanitize or remove any suspicious entries.
  • Rotate credentials and invalidate active sessions for administrators who may have viewed compromised product pages.

Patch Information

A fixed release addressing CVE-2025-26749 should be applied as soon as it is published by WPFactory. The advisory lists all versions up to and including 1.7.0 as vulnerable. Verify the installed version in the WordPress plugins dashboard and consult the Patchstack advisory for the fixed version number before updating.

Workarounds

  • Deactivate the Additional Custom Product Tabs for WooCommerce plugin until a patched release is installed.
  • Restrict product editing capability to trusted administrators by removing the edit_products capability from lower-privilege roles.
  • Implement a strict Content Security Policy that disallows inline scripts and limits script sources to approved origins.
  • Place a WAF rule in front of the WordPress administrative interface to block requests containing common XSS payload signatures.
bash
# Configuration example: temporarily disable the vulnerable plugin via WP-CLI
wp plugin deactivate product-tabs-for-woocommerce

# Verify installed version against the advisory
wp plugin get product-tabs-for-woocommerce --field=version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.