What’s Vulnerable › Vulnerabilities
CVE-2024-4160: Download Manager <= 3.2.90 - Authenticated (Contributor+) Stored Cross-Site Scripting via wpdm-all-packages Shortcode
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-31 · updated 2026-06-17
- Weakness: CWE-79
Description
The Download Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wpdm-all-packages' shortcode in all versions up to, and including, 3.2.90 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
- codename065 Download Manager: before 3.2.90 — fixed in 3.2.90
How to fix
Upgrade to a fixed version: codename065 Download Manager 3.2.90. Check the vendor advisory for mitigations.
References
- https://plugins.trac.wordpress.org/browser/download-manager/trunk/src/Package/views/all-packages-shortcode.php?rev=2996137#L202
- https://plugins.trac.wordpress.org/changeset/3080654#file7
- https://wordpress.org/plugins/download-manager/
- https://wordpress.org/plugins/download-manager/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9f51258a-e228-412f-9d97-28ab679136d7?source=cve
- https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/
- https://plugins.trac.wordpress.org/browser/download-manager/trunk/src/Package/views/all-packages-shortcode.php?rev=2996137#L202
- https://plugins.trac.wordpress.org/changeset/3080781/
- https://wordpress.org/plugins/download-manager/
- https://wordpress.org/plugins/download-manager/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9f51258a-e228-412f-9d97-28ab679136d7?source=cve
- https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/
Get alerted when CVE-2024-4160 or the next vulnerability affects your stack