CVE-2026-100161 Cross-site scripting in Photo Reviews for WooCommerce
Unauthenticated attackers can inject arbitrary scripts via the image upload ID parameter, leading to stored XSS when users view reviews.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-100161?
CVE-2026-100161 is a high-severity cross-site scripting vulnerability in villatheme Photo Reviews for WooCommerce, published on 10 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Photo Reviews for WooCommerce plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'wcpr_image_upload_id' parameter in all versions up to, and including, 1.2.30 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The publicly-emitted `wcpr_image_upload` nonce printed on every product review form is the only gate, and no capability, authentication, or attachment ownership check is performed, allowing the payload to be stored in comment meta — which is not subject to `wp_kses` — by any unauthenticated visitor; the XSS fires once the review is visible on the frontend.
Weakness: CWE-79
Which versions are affected by CVE-2026-100161?
How do I fix CVE-2026-100161?
No fix has been published for CVE-2026-100161 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-100161 being exploited?
There is no known exploitation of CVE-2026-100161 in the wild and no public exploit code.
Sources
Also known as GHSA-m4wg-wwm4-mh98.