CVE-2025-5842: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in butterflymedia Modern Design Library
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.
AI Analysis
Technical Summary
CVE-2025-5842 is a stored cross-site scripting vulnerability in the butterflymedia Modern Design Library WordPress plugin. The issue occurs due to improper neutralization of input in the ‘class’ parameter, allowing authenticated users with Contributor-level privileges or higher to inject arbitrary web scripts. These scripts execute when any user accesses the compromised page, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all versions up to and including 1.1.4. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity with scope change.
Potential Impact
An attacker with Contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable ‘class’ parameter. This can lead to unauthorized script execution in the context of other users viewing the page, potentially compromising user sessions or data confidentiality and integrity. There is no indication of impact to availability. No known exploits have been reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider removing or disabling the Modern Design Library plugin if feasible. Monitor for updates from butterflymedia regarding a security patch.
CVE-2025-5842: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in butterflymedia Modern Design Library
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-5842 is a stored cross-site scripting vulnerability in the butterflymedia Modern Design Library WordPress plugin. The issue occurs due to improper neutralization of input in the ‘class’ parameter, allowing authenticated users with Contributor-level privileges or higher to inject arbitrary web scripts. These scripts execute when any user accesses the compromised page, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all versions up to and including 1.1.4. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity with scope change.
Potential Impact
An attacker with Contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable ‘class’ parameter. This can lead to unauthorized script execution in the context of other users viewing the page, potentially compromising user sessions or data confidentiality and integrity. There is no indication of impact to availability. No known exploits have been reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider removing or disabling the Modern Design Library plugin if feasible. Monitor for updates from butterflymedia regarding a security patch.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-06T21:28:26.290Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 685d144eca1063fb87407994
Added to database: 6/26/2025, 9:35:10 AM
Last enriched: 4/9/2026, 9:37:58 PM
Last updated: 5/9/2026, 9:49:54 PM
Views: 151
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.