WordPress plugins
CVE-2026-135471
Dynamic Product Gallery for WooCommerce before 3.6.2 Stored XSS via Shortcode
- Severity
- Medium 5.1
- Published
- 23 Nov 2026
- Last changed
- 23 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.6.2
- Exploit chance
- 0.2% in the next 30 daysHigher than 14% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · Needs a user account · Needs someone to view a page or file
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
Woocommerce Dynamic Gallery (WordPress plugin)WordPress plugins · wp-plugin:woocommerce-dynamic-gallery |
|
About Dynamic Product Gallery for WooCommerce
Bring your product pages and presentation alive with Dynamic Product Gallery for WooCommerce. Beautifully.
- Active installations
- 1,000+WordPress.org, 24 Nov 2026
- Latest version
- 3.6.2WordPress.org, 24 Nov 2026
- Last updated
- 19 Nov 2026WordPress.org
- Rating
- 3.1 out of 5 (37 ratings)WordPress.org, 24 Nov 2026
- Requires WordPress
- 6.0WordPress.org
- Tested up to WordPress
- 7.0.9WordPress.org
- Author
- Steve TrumanWordPress.org
- In the directory since
- 16 Jul 2012WordPress.org
This is the only vulnerability in Dynamic Product Gallery for WooCommerce in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135471