Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Getbutterfly | Modern Design Library | < 1.1.5 |
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/mdl-shortcodes/trunk/mdl-shortcodes.pProduct
- https://plugins.trac.wordpress.org/changeset/3317171/Patch
- https://wordpress.org/plugins/mdl-shortcodes/#developersProductRelease Notes
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1be519d5-b505-4b5d-9f1Third Party Advisory
FAQ
What is CVE-2025-5842?
CVE-2025-5842 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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...
How severe is CVE-2025-5842?
CVE-2025-5842 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-5842?
Check the references section above for vendor advisories and patch information. Affected products include: Getbutterfly Modern Design Library.