CVE-2025-5842
MEDIUM
5.4
CVSS 3.1
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.
Affected WordPress components
-
Modern Design Library Plugin · mdl-shortcodesUp to and including 1.1.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- butterflymedia Modern Design Library — Up to and including 1.1.4
- getbutterfly modern_design_library — Before 1.1.5
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mdl-shortcodes/trunk/mdl-shortcodes.php#L197 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3317171/ Patch
- wordpress.org https://wordpress.org/plugins/mdl-shortcodes/#developers Product, Release Notes
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/1be519d5-b505-4b5d-9f14-c8544e8f8298?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record