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-2026-4125: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpmkorg WPMK Block

0
Medium
VulnerabilityCVE-2026-4125cvecve-2026-4125cwe-79
Published: Wed Apr 22 2026 (04/22/2026, 07:45:36 UTC)
Source: CVE Database V5
Vendor/Project: wpmkorg
Product: WPMK Block

Description

The WPMK Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class' shortcode attribute in all versions up to and including 1.0.1. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, in the wpmk_block_shortcode() function, the 'class' attribute is extracted from user-controllable shortcode attributes and directly concatenated into an HTML div element's class attribute without any escaping (e.g., esc_attr()). 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/22/2026, 08:48:45 UTC

Technical Analysis

CVE-2026-4125 is a stored cross-site scripting vulnerability in the WPMK Block WordPress plugin affecting all versions up to and including 1.0.1. The issue arises in the wpmk_block_shortcode() function where the 'class' shortcode attribute is extracted from user input and directly concatenated into an HTML div element's class attribute without proper escaping (e.g., esc_attr()). This improper neutralization of input allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code that executes in the context of users viewing the compromised pages. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity) with network attack vector, low attack complexity, and no user interaction required.

Potential Impact

Successful exploitation allows an authenticated user with Contributor-level access or higher to inject and store malicious scripts within pages using the vulnerable shortcode. These scripts execute in the browsers of users who view the infected pages, potentially leading to session hijacking, defacement, or other script-based attacks. The impact is limited to confidentiality and integrity with no direct availability impact. There are no known active exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or update has been published by the vendor. Until a patch is available, administrators should restrict Contributor-level access to trusted users only and consider disabling or removing the WPMK Block plugin if possible. Monitor vendor advisories for updates and apply official patches promptly once released.

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

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-13T13:47:13.693Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e8876e19fe3cd2cd808e4f

Added to database: 4/22/2026, 8:31:42 AM

Last enriched: 4/22/2026, 8:48:45 AM

Last updated: 4/23/2026, 1:06:04 AM

Views: 8

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