Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain Contributor-level WordPress access
-
DeliveryInsert malicious shortcode with XSS payload in class attribute
-
ExploitPublish post/page containing shortcode
-
ExecutionVictim visits page and browser renders unescaped HTML
-
PersistJavaScript executes in victim's security context
-
ImpactSteal session cookie or perform unauthorized actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) The attacker must possess WordPress Contributor-level access or higher (PR:L); (2) The WPMK Block plugin must be installed and activated on the target WordPress site; (3) Shortcodes must be processed in posts or pages where the attacker can create or edit content. Exploitation is BLOCKED if: the site restricts Contributor role to trusted users only, if the plugin is deactivated, or if WordPress applies post-revision security controls that prevent injection. The vulnerability does NOT require any special site configuration, non-default settings, or user interaction beyond normal page viewing - once a malicious shortcode is published, all subsequent visitors automatically execute the injected script. |
| Impact | This vulnerability presents moderate real-world risk despite the CVSS 6.4 (Medium) score. The CVSS vector AV:N/AC:L/PR:L/UI:N/S:C indicates network accessibility with low attack complexity, but crucially requires PR:L (Contributor-level authentication), which significantly limits the threat pool compared to unauthenticated attacks. The Stored XSS nature (S:C, Scope Changed) means impact can spread across different security contexts and affect administrators or other users viewing the injected content. However, exploitation requires an attacker to first gain WordPress Contributor access or higher, a meaningful barrier on properly managed sites. The lack of Confidentiality/Integrity/Availability impact details from the CVSS (C:L/I:L/A:N) suggests session hijacking, account takeover, or malware injection are possible but not catastrophic. No EPSS score, KEV status, or POC availability was provided in the input data; without exploitation confirmation signals, this appears to be a legitimate but non-critical vulnerability suitable for standard quarterly patching cycles on sites with restricted contributor access, or immediate patching on sites allowing untrusted contributors. |
| Exploit ScenarioDerived | An authenticated WordPress user with Contributor-level access creates or edits a page/post and inserts a shortcode with a malicious 'class' attribute: [wpmk_block class="test onclick='alert(1)'"] or [wpmk_block class="test" onload="fetch('/steal?token='+document.cookie)"]. When the page is published and viewed by any user (including administrators), the unescaped class attribute renders as HTML, triggering the embedded JavaScript. The attacker can thus steal session cookies, perform actions as the viewing user, or redirect to phishing pages. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 22, 2026
Stored Cross-Site Scripting in WPMK Block plugin for WordPress up to version 1.0.1 allows authenticated attackers with Contributor-level access to inject arbitrary web scripts via the 'class' shortcode attribute, which is directly concatenated into HTML without proper escaping. The vulnerability affects all versions through 1.0.1 due to insufficient input sanitization in the wpmk_block_shortcode() function, enabling persistent XSS attacks that execute whenever users access compromised pages.
RemediationAI
WordPress administrators should update the WPMK Block plugin immediately to a patched version released after 1.0.1; check the WordPress plugin repository for the latest available version, as the patch version number is not specified in available sources. The root fix requires the plugin developer to implement proper output escaping by applying the esc_attr() WordPress function to the 'class' attribute before concatenation into the HTML div element (line 97 in the affected code at https://plugins.trac.wordpress.org/browser/wpmk-block/tags/1.0.1/classes/wpmk-block-class.php#L97). As a temporary workaround on sites unable to immediately update, restrict the Contributor role to trusted users only and monitor posts and pages for unusual shortcode usage; disable the WPMK Block plugin entirely if no users require Contributor access. Sites running version 1.0.1 or earlier should prioritize this update to prevent persistent XSS injection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The WPMK Block plugin is a WordPress extension that processes shortcodes with user-supplied attributes. The vulnerability exists in the wpmk_block_shortcode() function, which extracts the 'class' attribute from shortcode parameters and directly embeds it into an HTML div element's class attribute without applying WordPress security functions like esc_attr(). This represents a classic Stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) where user input flows through the shortcode parser directly into the DOM without sanitization or output encoding. The affected CPE indicates all versions of the wpmk_block plugin from the wpmkorg vendor are potentially impacted through version 1.0.1.
Know when Wpmk Block gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-24666
GHSA-f4p3-578m-v245
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB