Wordpress Plugin
CVE-2025-10167
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 6.4 reflects a medium-to-moderately-high risk profile with several mitigating factors. The vector AV:N/AC:L/PR:L/UI:N/S:C indicates a network-accessible vulnerability with low complexity but requiring low-privilege authenticated access (PR:L = contributor level), no user interaction required (UI:N), and scope-changed (S:C) impact affecting confidentiality and integrity but not availability. The exploitation probability via EPSS is not explicitly provided in the input; however, stored XSS in WordPress plugins is a well-understood attack vector. The lack of a public exploit code (POC=NO) and absence of CISA KEV status (not listed as actively exploited) suggest this is not currently under active attack. The real-world risk depends heavily on deployment context: sites with loose user role management, plugin auto-updates disabled, or high numbers of contributors face elevated risk. The UI:N scoring acknowledges that once injected, the payload executes automatically on page load without requiring end-user interaction, increasing the effective risk compared to reflected XSS. The PR:L requirement (requiring authenticated contributor access) significantly limits the attack surface compared to unauthenticated vulnerabilities, but is still a credible threat in multi-author environments, development/staging sites, or scenarios involving compromised contributor accounts. |
| Exploit ScenarioDerived | An attacker with or who has compromised a WordPress contributor account (or higher) edits an existing published page and modifies the 'alg_wc_stock_snapshot_restocked' shortcode by injecting malicious JavaScript in one of its attributes, such as: [alg_wc_stock_snapshot_restocked attribute="value"><script>steal_credentials()</script><a href=""]`. The injected script is stored in the page content. When any site visitor (including administrators) loads the page, the stored JavaScript executes automatically without user interaction, enabling the attacker to steal session cookies, capture form input, redirect to phishing pages, or inject additional malware. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Stored cross-site scripting (XSS) in Stock History & Reports Manager for WooCommerce plugin versions up to 2.2.2 allows authenticated contributors and above to inject arbitrary JavaScript through the 'alg_wc_stock_snapshot_restocked' shortcode attributes due to insufficient input sanitization and output escaping. When an injected page is accessed, the malicious script executes in the context of all visitors' browsers, potentially compromising site users and enabling credential theft, malware distribution, or account takeover. No public exploit code or active exploitation has been confirmed at the time of analysis.
RemediationAI
Site administrators should update the Stock History & Reports Manager for WooCommerce plugin to a patched version beyond 2.2.2. Per the upstream changeset at https://plugins.trac.wordpress.org/changeset/3376453/, a fix has been applied; check the WordPress plugin repository (https://wordpress.org/plugins/stock-snapshot-for-woocommerce/) or the plugin's settings in the WordPress dashboard to confirm the latest available version and install it immediately. For sites unable to update immediately, restrict contributor-level access to only trusted users and audit existing pages and posts for any suspicious shortcode attributes or script content. Additionally, review the Wordfence vulnerability advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/13ffe550-699a-4244-b0e1-859c113d77c0?source=cve) for detailed mitigation guidance and site scan recommendations.
Affected ProductsAI
The Stock History & Reports Manager for WooCommerce plugin (also marketed as Stock Snapshot for WooCommerce) in all versions up to and including 2.2.2 is affected. The plugin is distributed via the official WordPress plugin repository at https://wordpress.org/plugins/stock-snapshot-for-woocommerce/. No specific safe version is identified in the references, though the plugin changelog (https://plugins.trac.wordpress.org/changeset/3376453/) indicates that remediation has been committed upstream. The vulnerability impacts WordPress sites running the plugin at version 2.2.2 or earlier.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the Stock History & Reports Manager for WooCommerce plugin (identified via WordPress plugin repository https://plugins.trac.wordpress.org/browser/stock-snapshot-for-woocommerce/) at the shortcode handler for 'alg_wc_stock_snapshot_restocked' in the class-alg-wc-stock-snapshot-shortcodes.php file (line 174 per reference). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied shortcode attributes are not properly sanitized before being processed or escaped before output to the page. Shortcodes in WordPress are a mechanism for embedding dynamic content via [shortcode-name] syntax in post/page content; when attributes passed to shortcodes lack sanitization and escaping, they become a vector for injecting malicious HTML and JavaScript that persists in the post/page content (stored XSS). The vulnerability requires the attacker to have at least contributor-level WordPress user access (the lowest tier that can publish posts/pages and add/edit shortcodes), which restricts the attack surface to trusted user accounts or compromised accounts with those privileges.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (wordfence) · only source for this CVE.
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Stock History & Reports Manager for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'alg_wc_stock_snapshot_restocked shortcode in all versions up to, and including, 2.2.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB