CVE-2025-5842: Modern Design Library <= 1.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via class Parameter
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5842?
CVE-2025-5842 is classified as a medium severity vulnerability due to its potential for stored cross-site scripting attacks.
How do I fix CVE-2025-5842?
To mitigate CVE-2025-5842, you should update the Modern Design Library plugin to version 1.1.5 or later.
Who is affected by CVE-2025-5842?
Authenticated users of the Modern Design Library plugin for WordPress up to and including version 1.1.4 are affected by CVE-2025-5842.
What type of vulnerability is CVE-2025-5842?
CVE-2025-5842 is a Stored Cross-Site Scripting (XSS) vulnerability.
What input is exploited in CVE-2025-5842?
CVE-2025-5842 exploits the ‘class’ parameter due to insufficient input sanitization and output escaping.