Skip to main content

Dynamic Product Gallery EUVDEUVD-2026-133405

| CVE-2026-135471 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-23 disclosure@vulncheck.com GHSA-f8hf-h7jm-pv99
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor-level account
  2. Delivery
    Submit post with malicious product_id in gallery shortcode
  3. Exploit
    Payload stored unescaped in inline init script
  4. Execution
    Admin/editor previews or approves the post
  5. Impact
    JavaScript executes in privileged browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the Dynamic Product Gallery for WooCommerce plugin (version before 3.6.2) installed and active on a WordPress/WooCommerce site, plus an authenticated account with Contributor-level privileges or higher (PR:L) that can author content containing the [wc_product_dgallery] or [wc_product_dynamic_gallery] shortcode with an attacker-controlled product_id attribute. Exploitation is further limited by required user interaction (UI:P): the payload only executes when another user - typically an editor or administrator previewing or approving the submission, or any visitor viewing the published post - renders the affected page. Limiting factors that reduce real-world risk: sites that do not permit contributor/author self-registration, workflows where posts are not previewed before deletion, and any site not running the vulnerable plugin version are not exposed.

Impact

This is a stored cross-site scripting flaw (CWE-79) carrying a medium CVSS 4.0 base score of 5.1, and the signals are internally consistent rather than conflicting. The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P tells the real story: network-reachable and low-complexity, but gated by PR:L (the attacker must already hold at least a Contributor-level WordPress account) and UI:P (a separate privileged user must view, preview, or approve the malicious post for the payload to fire). Impact is confined to the subsequent-system metrics SC:L/SI:L with no impact on the vulnerable system itself (VC:N/VI:N/VA:N), which matches a classic stored-XSS blast radius - script execution in a victim's browser session rather than server compromise. No EPSS score, KEV listing, or confirmed exploit was supplied in the input, and the vuln.today decision label is 'this_month' (not act_now/emergency), so this should be prioritized as routine-but-near-term patching, not a drop-everything emergency. The practical risk is bounded by the Contributor-account prerequisite: on sites that freely grant contributor/author registration (common on multi-author blogs and community stores) the barrier is low and the escalation-to-admin potential is meaningful, whereas single-author stores face little exposure. No key data is contradictory here; the main gap is the absence of exploitation-probability and in-the-wild telemetry.

Exploit ScenarioDerived

An attacker who holds a Contributor account on a WooCommerce store running this plugin authors a post containing a [wc_product_dgallery] or [wc_product_dynamic_gallery] shortcode and sets product_id to a value such as 342;alert(document.domain)//, which breaks out of the inline JavaScript variable declaration. When an editor or administrator previews the submission to review or approve it, the injected script executes in their authenticated browser session, enabling session/cookie theft or admin-level actions. No confirmed public exploit was provided in the input, though the advisory description itself includes a working sample payload.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

Stored cross-site scripting in the Dynamic Product Gallery for WooCommerce plugin (versions before 3.6.2) lets an authenticated user with Contributor-level access or higher plant arbitrary JavaScript inside a post through the product_id attribute of the [wc_product_dgallery] and [wc_product_dynamic_gallery] shortcodes. The payload is stored in the post content and executes in the browser of anyone who renders it - most consequentially an editor or administrator who previews or approves the submission, granting script execution with that higher-privileged user's session context in the WordPress admin area. The issue carries a CVSS 4.0 base score of 5.1 (CVSS 3.1 equivalent AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N); no public exploit code has been identified at time of analysis and the plugin has not appeared in CISA KEV.

RemediationAI

Update the Dynamic Product Gallery for WooCommerce plugin to version 3.6.2 or later, which is the fixed release per the vendor changelog at https://wordpress.org/plugins/woocommerce-dynamic-gallery/#developers; the vulnerability advisory is at https://www.vulncheck.com/advisories/dynamic-product-gallery-for-woocommerce-before-3.6.2-stored-xss-via-shortcode. If updating must be deferred, reduce exposure by restricting who can hold Contributor-level or higher roles (disabling open contributor self-registration and auditing existing accounts), since such an account is a prerequisite for planting the payload, and by reviewing or removing existing posts that embed [wc_product_dgallery] or [wc_product_dynamic_gallery] with an unexpected product_id value before they are previewed or approved by an administrator. Note that these are exposure-reduction measures only and do not remove the vulnerable code path; updating to 3.6.2 is the complete fix, and no vendor-released patch alternative or configuration toggle is described in the available sources.

Affected VersionsENISA

Dynamic Product Gallery for WooCommerce 0 <3.6.2

Affected Packages

euvd dynamic_product_gallery_for_woocommerce fix: 3.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The plugin registers two WooCommerce shortcodes, [wc_product_dgallery] and [wc_product_dynamic_gallery], whose product_id attribute is parsed by parse_shortcode_product_dynamic_gallery(). That function sanitises the value with esc_attr(), which is the correct encoder for HTML attribute context but is the wrong encoder when the same value is later emitted inside a JavaScript block. get_gallery_main() reuses the value when printing the a3-wc-dynamic-gallery-init-inline-script inline script, placing it directly into a JavaScript variable name rather than into a quoted string. A value such as 342;alert(document.domain)// therefore terminates the declaration and runs attacker-controlled statements in the page context. This is a classic context-confusion variant of CWE-79: HTML-attribute escaping applied to data that reaches a script sink without JavaScript-safe encoding (no wp_json_encode or esc_js). The vulnerable code path is only reachable when the plugin is installed and active on a WordPress/WooCommerce site and a Contributor-or-higher account can author content containing the shortcode, and the script only fires when another user (an editor or administrator previewing or approving, or a visitor viewing the published post) loads the rendered page, which is why the assessed vector requires user interaction (UI:R/UI:P) and scores changed scope.

Know when Woocommerce gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Contributor account needed so PR:L; a victim must view the stored payload so UI:R; stored XSS crosses into the victim's browser context so S:C with C:L/I:L and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 23, 2026 - 21:18 EUVD
CVE Published
Nov 23, 2026 - 20:18 cve.org
MEDIUM 5.1

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Low
niche WooCommerce gallery add-on, limited install base versus core WooCommerce
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2017-17058 HIGH POC
7.5 Nov 29

The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco

CVE-2025-13773 CRITICAL POC
9.8 Dec 24

Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack

CVE-2026-18143 CRITICAL POC
9.8 Sep 26

Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a

CVE-2021-24212 CRITICAL POC
9.8 Apr 05

The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo

CVE-2022-50972 CRITICAL POC
9.3 Jun 20

WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by

CVE-2026-112866 CRITICAL POC
9.3 Oct 24

Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers

CVE-2025-10162 HIGH POC
8.6 Oct 07

Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff

CVE-2026-116528 CRITICAL POC
9.1 Nov 14

Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern

CVE-2026-81649 CRITICAL POC
9.1 Oct 11

Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin

CVE-2026-123122 HIGH POC
8.8 Nov 14

Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM

CVE-2026-122001 HIGH POC
8.8 Nov 07

Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated

CVE-2020-35627 HIGH POC
8.8 Dec 28

Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy