---
id: CVE-2025-10167
title: >-
  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 insuffic…
summary: >-
  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 insuffic…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-10-11'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T13:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10167'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/stock-snapshot-for-woocommerce/trunk/includes/class-alg-wc-stock-snapshot-shortcodes.php#L174
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3376453/'
    label: security@wordfence.com
  - url: 'https://wordpress.org/plugins/stock-snapshot-for-woocommerce'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/13ffe550-699a-4244-b0e1-859c113d77c0?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00239
epssPercentile: 0.13734
ingestedAt: '2026-10-08T13:42:55.103Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
