Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-5842: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in butterflymedia Modern Design Library

0
Medium
VulnerabilityCVE-2025-5842cvecve-2025-5842cwe-79
Published: Thu Jun 26 2025 (06/26/2025, 09:22:02 UTC)
Source: CVE Database V5
Vendor/Project: butterflymedia
Product: 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

AILast updated: 04/09/2026, 21:37:58 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses