CVE-2025-5842 Modern Design Library <= 1.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via class Parameter
MediumCVSS 5.4
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- WordPress
Description
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| butterflymedia Modern Design Library | <= 1.1.4 | after 1.1.4 | Fixed |
| getbutterfly modern design library | < 1.1.5 | 1.1.5 | Fixed |
| wordpress mdl-shortcodes(WordPress) | < 1.1.5 | 1.1.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress mdl-shortcodes(WordPress) | < 1.1.5 | 1.1.5 |
| butterflymedia Modern Design Library | <= 1.1.4 | No fix listed |
| getbutterfly modern design library | < 1.1.5 | 1.1.5 |
References
- Wordfence Intelligence third-party-advisory
- www.cve.org
- www.wordfence.com third-party-advisory
- plugins.trac.wordpress.org product
- wordpress.org product release-notes
- plugins.trac.wordpress.org patch