CVE-2026-1316 Customer Reviews for WooCommerce <= 5.97.0 - Unauthenticated Stored Cross-Site Scripting via media[].href Parameter

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via the media href parameter if guest reviews are enabled, leading to potential session hijacking or malicious actions.

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-1316?

CVE-2026-1316 is a high-severity cross-site scripting vulnerability in ivole Customer Reviews for WooCommerce, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'media[].href' parameter in all versions up to, and including, 5.97.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers (if 'Enable for Guests' is enabled) to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Weakness: CWE-79

Which versions are affected by CVE-2026-1316?

How do I fix CVE-2026-1316?

No fix has been published for CVE-2026-1316 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-1316 being exploited?

There is no known exploitation of CVE-2026-1316 in the wild and no public exploit code.

Sources

Also known as GHSA-x5rj-w9pr-xhrg.

Is CVE-2026-1316 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free