CVE-2025-12398
Reflected XSS in WooCommerce Product Table Plugin
Publication date: 2025-12-21
Last updated on: 2025-12-21
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| woocommerce | product_table | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the Product Table for WooCommerce plugin for WordPress. It occurs via the 'search_key' parameter in versions up to and including 5.0.8. Due to insufficient input sanitization and output escaping, an unauthenticated attacker can inject arbitrary web scripts into pages. These scripts execute if a user is tricked into performing an action, such as clicking a malicious link.
How can this vulnerability impact me? :
This vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website, potentially leading to theft of user data, session hijacking, or other malicious actions. Since it requires tricking a user to click a crafted link, it can compromise user trust and site security without requiring authentication.
What immediate steps should I take to mitigate this vulnerability?
Update the WooCommerce Product Table plugin to version 5.0.9 or later, as this version includes fixes addressing the vulnerability. Applying this update will mitigate the reflected cross-site scripting issue via the 'search_key' parameter. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing for reflected Cross-Site Scripting (XSS) via the 'search_key' parameter in the WooCommerce Product Table plugin (versions up to 5.0.8). You can attempt to inject a simple script payload into the 'search_key' parameter in a URL and observe if the script is reflected and executed. For example, use curl or a browser to send a request like: curl -G --data-urlencode "search_key=<script>alert(1)</script>" "http://your-wordpress-site.com/path-to-product-table" and check if the script is executed or reflected in the response. Additionally, web vulnerability scanners that test for reflected XSS can be used against the affected endpoints. Monitoring web server logs for suspicious requests containing script tags in the 'search_key' parameter can also help detect exploitation attempts.