CVE-2025-5842
Modern Design Library <= 1.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via class Parameter
CVSS Score
6.4
EPSS Score
0.0%
EPSS Percentile
0th
The Modern Design Library plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class’ parameter in all versions up to, and including, 1.1.4 due to insufficient input sanitization and output escaping. 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.
| CWE | CWE-79 |
| Vendor | butterflymedia |
| Product | modern design library |
| Published | Jun 26, 2025 |
| Last Updated | Apr 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for butterflymedia modern design library
Be the first to know when new medium vulnerabilities affecting butterflymedia modern design library are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
butterflymedia / Modern Design Library
0 ≤ 1.1.4
References
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/1be519d5-b505-4b5d-9f14-c8544e8f8298?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/mdl-shortcodes/trunk/mdl-shortcodes.php#L197 wordpress.org: https://wordpress.org/plugins/mdl-shortcodes/#developers plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3317171/
Credits
Peter Thaleikis