Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.4
CVE-2026-4278: Simple Download Counter Plugin for WordPress Allows Attackers to Inject Malware
CVE-2026-4278 · published 7 months ago
Summary
The Simple Download Counter plugin for WordPress is vulnerable to a security threat that allows attackers to inject malicious code into a website. If an attacker has Contributor-level access or higher, they can use this vulnerability to inject code that will execute when a user visits the affected page. Website owners should update the plugin to the latest version to prevent this type of attack.
Original advisory text
The Simple Download Counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'sdc_menu' shortcode in all versions up to, and including, 2.3. This is due to insufficient inp...
The Simple Download Counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'sdc_menu' shortcode in all versions up to, and including, 2.3. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes, specifically the 'text' and 'cat' attributes. The 'text' attribute is output directly into HTML content on line 159 without any escaping (e.g., esc_html()). The 'cat' attribute is used unescaped in HTML class attributes on lines 135 and 157 without 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 an injected page.
References
- https://plugins.trac.wordpress.org/browser/simple-download-counter/tags/2.3/inc/...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/tags/2.3/inc/...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/tags/2.3/inc/...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/tags/2.3/inc/...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/trunk/inc/fun...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/trunk/inc/fun...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/trunk/inc/fun...
- https://plugins.trac.wordpress.org/browser/simple-download-counter/trunk/inc/fun...
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old...
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f23dec73-9031-4829-a84...
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published26 Mar 2026
Updated4 Nov 2026
First seen26 Mar 2026
Sources
CVE-2026-4278 · NVD
Track software like this
Free during beta