CVE-2026-135471
Last modified
CVE-2026-135471 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Steve Truman | Dynamic Product Gallery for WooCommerce | < 3.6.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-135471?
How severe is CVE-2026-135471?
How do I fix CVE-2026-135471?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-135455A vulnerability was determined in amirhamza05 Student-Manage…3.5
- CVE-2026-135456A vulnerability was identified in amirhamza05 Student-Manage…4.3
- CVE-2026-135457A security flaw has been discovered in amirhamza05 Student-M…7.3
- CVE-2026-13546A vulnerability was found in Feehi CMS up to 2.1.1. This vul…7.3
- CVE-2026-13547A vulnerability was determined in Hanwang e-Face General Man…7.3
- CVE-2026-135470WPC Product Options for WooCommerce before 4.0.9 contains a …7.5
- CVE-2026-135472open62541 1.5.0 through 1.5.10 contains a use-after-free and…6.2
- CVE-2026-135479Merchant for WooCommerce before 2.3.3 contains a missing aut…5.3
- CVE-2026-13548A vulnerability was identified in itsourcecode Hospital Mana…6.3
- CVE-2026-135480Insert Pages plugin for WordPress (insert-pages) before 3.11…4.3
- CVE-2026-135481Listdom by Webilia plugin for WordPress before 6.5.0 contain…4.3
- CVE-2026-135483Author Avatars List/Block plugin for WordPress before 2.2.1 …5.4
Are you affected by CVE-2026-135471?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
