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.
Published: 2025-06-26
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross-Site Scripting
Action: Apply Patch
AI Analysis

Impact

The Modern Design Library plugin for WordPress contains a stored cross‑site scripting flaw in the ‘class’ parameter up through version 1.1.4. Authenticated users with Contributor‑level access or higher can inject arbitrary scripts that will run whenever a user opens a page containing the injected content, leading to client‑side code execution and potential data theft or session hijacking.

Affected Systems

Any WordPress site running the Modern Design Library plugin provided by butterflymedia, at or below version 1.1.4, is affected. The vulnerability applies to all installations where contributors have permission to edit or add shortcodes that include the vulnerable ‘class’ parameter.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity, while the EPSS score of < 1% signals a low probability of exploitation in the wild. The vulnerability is not currently listed in the CISA KEV catalog. Attackers must be authenticated with at least Contributor rights; there are no additional prerequisites beyond the ability to edit or create shortcodes. Successful exploitation results in arbitrary script execution in the browsers of any site visitor who views the affected page, potentially compromising user sessions and data.

Generated by OpenCVE AI on April 22, 2026 at 14:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Modern Design Library plugin to the latest version (1.1.5 or newer) that removes the vulnerability.
  • Identify and delete any scripts that have been injected via the class parameter in existing content before the upgrade.
  • Restrict Contributor‑level access to trusted users, or remove the ability to edit the class parameter if the role is not required to modify shortcodes.

Generated by OpenCVE AI on April 22, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-28690 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.
History

Mon, 07 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Getbutterfly
Getbutterfly modern Design Library
CPEs cpe:2.3:a:getbutterfly:modern_design_library:*:*:*:*:*:wordpress:*:*
Vendors & Products Getbutterfly
Getbutterfly modern Design Library

Thu, 26 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 26 Jun 2025 09:30:00 +0000

Type Values Removed Values Added
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.
Title Modern Design Library <= 1.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via class Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Getbutterfly Modern Design Library
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:38:21.736Z

Reserved: 2025-06-06T21:28:26.290Z

Link: CVE-2025-5842

cve-icon Vulnrichment

Updated: 2025-06-26T13:15:04.251Z

cve-icon NVD

Status : Analyzed

Published: 2025-06-26T10:15:25.537

Modified: 2025-07-08T11:35:12.807

Link: CVE-2025-5842

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T15:00:05Z

Weaknesses