Description (CNA)
The Download Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'sid' parameter of the 'wpdm_members' shortcode in versions up to and including 3.3.52. This is due to insufficient input sanitization and output escaping on the user-supplied 'sid' shortcode attribute. The sid parameter is extracted without sanitization in the members() function and stored via update_post_meta(), then echoed directly into an HTML id attribute in the members.php template without applying esc_attr(). 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 the injected page.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| codename065 / Download Manager | affected 0 through 3.3.52 |
CWE
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/27fc81b0-c03a-4de7-bc38-791401d1685b?source=cve
- https://plugins.trac.wordpress.org/browser/download-manager/trunk/src/User/views/members.php#L10
- https://plugins.trac.wordpress.org/browser/download-manager/tags/3.3.51/src/User/views/members.php#L10
- https://plugins.trac.wordpress.org/browser/download-manager/trunk/src/User/User.php#L175
- https://plugins.trac.wordpress.org/browser/download-manager/tags/3.3.51/src/User/User.php#L175
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3501300%40download-manager&new=3501300%40download-manager&sfp_email=&sfph_mail=
ADP enrichment
No English description supplied.
No references supplied.