Skip to content
STAGE33R

CVE-2026-135471

MED 5.4

Summary

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.

Key facts

  • Vendor: steve_truman
  • CVSS 3.1: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
  • EPSS (30-day exploitation probability): 0.24%
  • Published: 2026-11-23
  • Last modified: 2026-11-28
  • Weakness: CWE-79

Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.

Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities