CVE-2026-4278: Simple Download Counter <= 2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'text' Shortcode Attribute
The Simple Download Counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'sdcmenu' 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., eschtml()). The 'cat' attribute is used unescaped in HTML class attributes on lines 135 and 157 without escattr(). 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-4278?
CVE-2026-4278 is classified as a medium severity vulnerability due to the potential for stored cross-site scripting attacks.
How do I fix CVE-2026-4278?
To fix CVE-2026-4278, you should update the Simple Download Counter plugin to version 2.4 or later.
Who is affected by CVE-2026-4278?
CVE-2026-4278 affects all versions of the Simple Download Counter plugin up to and including version 2.3.
What type of vulnerability is CVE-2026-4278?
CVE-2026-4278 is a stored cross-site scripting vulnerability that can be exploited through the 'sdc_menu' shortcode.
Can CVE-2026-4278 allow unauthorized access?
While CVE-2026-4278 does not allow unauthorized access directly, it can lead to unauthorized actions through malicious scripts.