๐Ÿ” CVE Alert

CVE-2026-135471

MEDIUM 5.4

Dynamic Product Gallery for WooCommerce before 3.6.2 Stored XSS via Shortcode

CVSS Score
5.4
EPSS Score
0.2%
EPSS Percentile
9th

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.

CWE CWE-79
Vendor steve truman
Product dynamic product gallery for woocommerce
Published Nov 23, 2026
Last Updated Nov 28, 2026
Stay Ahead of the Next One

Get instant alerts for steve truman dynamic product gallery for woocommerce

Be the first to know when new medium vulnerabilities affecting steve truman dynamic product gallery for woocommerce are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

Steve Truman / Dynamic Product Gallery for WooCommerce
0 < 3.6.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
wordpress.org: https://wordpress.org/plugins/woocommerce-dynamic-gallery/#developers vulncheck.com: https://www.vulncheck.com/advisories/dynamic-product-gallery-for-woocommerce-before-3.6.2-stored-xss-via-shortcode

Credits

buiih