CVE-2026-135471
CVE-2026-135471 · Dynamic Product Gallery for WooCommerce before 3.6.2 Stored XSS via Shortcode
CVSS 5.1 · Medium · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- dynamic product gallery for woocommerceUpdate to 3.6.2
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Dynamic Product Gallery for WooCommerce before 3.6.2 contains a stored cross-site scripting vulnerability that allows authenticated attackers with Contributor-level access or above to inject arbitrary JavaScript via the product_id attribute of the [wc_product_dgallery] and [wc_product_dynamic_gallery] shortcodes. The parse_shortcode_product_dynamic_gallery() function passes product_id only through esc_attr(), and get_gallery_main() prints it unescaped into the a3-wc-dynamic-gallery-init-inline-script inline script as part of a JavaScript variable name, so a value such as 342;alert(document.domain)// breaks out of the declaration. The injected script executes in the browser of any user who views the post, including editors or administrators who preview or approve it.
- Published
- Updated
Affected products and versions
dynamic product gallery for woocommerce
- Versions
- ≥ 0, < 3.6.2: Affected (semver)
Update to 3.6.2