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-22638 Overview
CVE-2025-22638 is a stored Cross-Site Scripting (XSS) vulnerability in the acowebs Product Table For WooCommerce WordPress plugin. The flaw affects all versions up to and including 1.2.3 and is caused by improper neutralization of input during web page generation [CWE-79]. An authenticated attacker with low privileges can inject malicious script content that persists in the application and executes in the browser of any user who views the affected page.
Critical Impact
Stored XSS enables attackers to execute arbitrary JavaScript in authenticated sessions, hijack accounts, redirect visitors, and alter page content served by WooCommerce storefronts.
Affected Products
- acowebs Product Table For WooCommerce plugin for WordPress
- All versions from n/a through 1.2.3
- WooCommerce storefronts running the vulnerable plugin
Discovery Timeline
- 2025-03-27 - CVE-2025-22638 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-22638
Vulnerability Analysis
The vulnerability resides in the Product Table For WooCommerce plugin and stems from the plugin accepting user-supplied input without proper sanitization or output encoding. Attacker-controlled input is persisted in the WordPress database and later rendered inside HTML contexts without escaping. When a victim loads a page containing the injected payload, the browser interprets the content as executable JavaScript.
The attack has a changed scope, meaning the injected script executes in a security context different from the vulnerable component. This typically allows an attacker who compromises a plugin-managed table to affect administrators or shoppers browsing the storefront.
Root Cause
The root cause is missing input validation and output encoding on fields processed by the Product Table For WooCommerce plugin. The plugin does not apply WordPress sanitization helpers such as sanitize_text_field() on input or esc_html(), esc_attr(), and wp_kses_post() on output. As a result, raw HTML and <script> tags survive the storage and rendering pipeline.
Attack Vector
Exploitation requires network access to the WordPress site and a low-privileged authenticated account. The attacker submits crafted content containing JavaScript through a plugin-exposed field. The payload is stored server-side and executes when administrators, editors, or customers subsequently view the rendered product table. User interaction is required to trigger execution, typically through routine page navigation.
See the Patchstack Vulnerability Advisory for additional technical context. No public proof-of-concept exploit is listed in the enriched data at this time.
Detection Methods for CVE-2025-22638
Indicators of Compromise
- Unexpected <script>, onerror=, onload=, or javascript: strings stored in WooCommerce product or plugin configuration tables
- WordPress audit logs showing content updates by low-privileged accounts targeting Product Table For WooCommerce settings
- Outbound browser requests from admin sessions to attacker-controlled domains following page loads of product tables
Detection Strategies
- Query the WordPress database for plugin-managed fields containing HTML event handlers or script tags.
- Deploy a web application firewall rule to flag POST requests to plugin endpoints that include scripting syntax.
- Monitor Content Security Policy (CSP) violation reports from storefront pages that render product tables.
Monitoring Recommendations
- Enable WordPress activity logging on plugin configuration changes and user role modifications.
- Review HTTP access logs for anomalous admin-ajax or REST API calls targeting the plugin.
- Alert on new administrator accounts or privilege changes shortly after suspicious content submissions.
How to Mitigate CVE-2025-22638
Immediate Actions Required
- Update the Product Table For WooCommerce plugin to a version newer than 1.2.3 once released by the vendor.
- Audit existing product table entries and plugin settings for injected script content and remove any malicious payloads.
- Rotate credentials for any administrator or editor accounts that may have been exposed to the stored payload.
Patch Information
At the time of publication the enriched data references the Patchstack Vulnerability Advisory as the authoritative source. Administrators should monitor the WordPress plugin repository for an updated release that supersedes 1.2.3 and apply it as soon as it is available.
Workarounds
- Temporarily deactivate the Product Table For WooCommerce plugin until a patched version is installed.
- Restrict access to plugin configuration pages to trusted administrators only and remove unnecessary low-privileged roles.
- Enforce a strict Content Security Policy that disallows inline scripts on storefront pages to limit XSS impact.
# Example CSP header to limit inline script execution on WordPress storefronts
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'"
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

