# Download Manager <= 3.3.78 - Authenticated (Author+) Local File Inclusion via Package Template

- **ID:** WPSEC-2026-3910
- **Plugin:** Download Manager (`download-manager`), https://wordpress.org/plugins/download-manager/
- **Affected versions:** all versions before 3.3.79
- **Fixed in:** 3.3.79 (Update to 3.3.79 or later.)
- **Severity:** High 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-98
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/download-manager
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3910/

## Description

The Download Manager plugin for WordPress is vulnerable to Local File Inclusion via the package link and page template ('file[template]' / 'file[page_template]') fields in all versions up to, and including, 3.3.78, due to insufficient validation of the stored template name. The value was saved with only HTML escaping, and wpdm_basename() split it on only one kind of path separator, so a value containing a backslash kept any '../' segments after it. The resulting path was passed to file_exists() and include. This makes it possible for authenticated attackers with Author-level access and above to include and execute arbitrary .php files on the server when the package is rendered. Any PHP code in those files runs, which can allow code execution or the disclosure of sensitive data.

## References

- https://wpsec.com/vuln/WPSEC-2026-3910/
- https://plugins.svn.wordpress.org/download-manager/tags/3.3.79/
- https://wordpress.org/plugins/download-manager/

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

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.
