Read the docs

Stored cross-site scripting in Dynamic Product Gallery for WooCommerce

Priority LOW 23CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Dynamic Product Gallery for WooCommerce before 3.6.2 contains a stored cross-site scripting flaw, tracked as CWE-79, in the product_id attribute of its shortcodes. An authenticated attacker with Contributor access or above can inject JavaScript that runs in the browser of any user who views the post, including editors and administrators who preview or approve it.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00235 8th percentileScored 2026-11-30
Fix Fixed Dynamic Product Gallery for WooCommerce (Steve Truman): 3.6.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Steve TrumanDynamic Product Gallery for WooCommercebefore 3.6.23.6.2Patch availableCNA
  • Dynamic Product Gallery for WooCommerce VendorSteve Truman Affected before 3.6.2 Fixed in 3.6.2 Patch available CNA

Remediation

Update Dynamic Product Gallery for WooCommerce by Steve Truman to version 3.6.2 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA Dynamic Product Gallery for WooCommerce (Steve Truman) Fixed in 3.6.2

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-135471
  2. 2026-11-23 Alias added: GHSA-f8hf-h7jm-pv99
  3. 2026-11-28 CISA SSVC decision points changed

References

  • TI-2025-20910 WordPress Contact Us page - Contact people LITE plugin <= 3.7.4 - SQL Injection Vulnerability CVSS 3.1HIGH 8.5
  • TI-2026-19767 WordPress Email Inquiry & Cart Options for WooCommerce plugin <= 3.4.3 - Cross Site Scripting (XSS) vulnerability CVSS 3.1MEDIUM 6.5
  • TI-2025-39182 WordPress Page View Count plugin <= 2.9.0 - Settings Change vulnerability CVSS 3.1MEDIUM 5.4
  • TI-2025-36453 WordPress WP Email Template plugin <= 2.8.5 - Cross Site Request Forgery (CSRF) vulnerability CVSS 3.1MEDIUM 4.3

Sources