# Ultimate Downloadable Products for WooCommerce <= 1.3.5 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via Download Name

- **ID:** WPSEC-2026-1666
- **Plugin:** Ultimate Downloadable Products for WooCommerce (`ultimate-downloadable-products-for-woocommerce`), https://wordpress.org/plugins/ultimate-downloadable-products-for-woocommerce/
- **Affected versions:** from 1.3.0 before 2.0.0
- **Fixed in:** 2.0.0 (Update to 2.0.0 or later.)
- **Severity:** Medium 5.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ultimate-downloadable-products-for-woocommerce
- **Fix released:** 2026-10-25
- **Published:** 2026-10-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1666/

## Description

The Ultimate Downloadable Products for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via product download names in all versions from 1.3.0 up to, and including, 1.3.5, due to insufficient output escaping of the download name in the alt attribute of the image thumbnail item of the download list, which the [ultimate-downloadable-list] shortcode and the Downloads product tab render. This makes it possible for authenticated attackers with Shop Manager-level access and above, who do not have the unfiltered_html capability, to inject arbitrary web scripts into the product page by naming an image download so that it breaks out of the attribute. The scripts run whenever a user views the product.

## References

- https://wpsec.com/vuln/WPSEC-2026-1666/
- https://plugins.svn.wordpress.org/ultimate-downloadable-products-for-woocommerce/tags/2.0.0/
- https://wordpress.org/plugins/ultimate-downloadable-products-for-woocommerce/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1666/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
