Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or register WordPress contributor account
-
DeliveryCraft post with malicious 'wrap' shortcode attribute
-
ExploitPublish or save post on target site
-
ExecutionVictim user (including admin) visits injected page
-
PersistStored XSS payload executes in victim browser
-
ImpactSession credentials or tokens exfiltrated to attacker
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 | The attacker must hold an authenticated WordPress account assigned the contributor role or higher (Editor, Author, Administrator). The myCred plugin must be installed and active on the target WordPress site. The attacker must have permission to create or edit posts that contain shortcodes - standard contributor capability in WordPress. A victim user of any role must subsequently visit or preview a page rendering the injected shortcode for the payload to execute. Exploitation is concretely limited by the PR:L requirement: sites that do not allow public contributor registration, or that restrict shortcode usage in contributor content via capability controls, are not vulnerable to unauthenticated or low-effort attacks. No non-default myCred configuration is required - the leaderboard shortcode and 'wrap' attribute are standard plugin features. The XSS is stored server-side, so the attacker need not maintain any session after injection. |
| Impact | The CVSS 6.4 score (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects a network-reachable, low-complexity attack requiring only low privileges and resulting in Changed Scope - the XSS payload executes in a different security context (the victim's browser) than where it was injected. The S:C flag is the key risk amplifier: even a contributor injecting a modest XSS can compromise an administrator's browser session, leading to full site takeover. No EPSS data was included in the source intelligence, and the CVE does not appear in CISA KEV, so active exploitation is unconfirmed. Real-world risk is gated heavily on contributor role availability - sites that allow open contributor registration or use contributor roles broadly are materially more exposed. Note: the provided CVSS vector uses UI:N; however, stored XSS by definition requires a victim to navigate to the injected page, which is a form of passive user interaction. This is a known scoring disagreement in the community - defenders should treat this as UI:R for risk prioritization. The absence of EPSS and KEV data, combined with the PR:L prerequisite, suggests this is a moderate-priority patching task rather than an emergency response item. |
| Exploit ScenarioDerived | An attacker registers or compromises a contributor-level account on a WordPress site running myCred ≤ 3.1, then creates a new post containing a myCred leaderboard shortcode with a JavaScript payload embedded in the 'wrap' attribute (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Stored XSS in the myCred WordPress plugin (versions up to and including 3.1) allows authenticated attackers holding contributor-level access or above to inject persistent JavaScript payloads via the unsanitized 'wrap' shortcode attribute in the leaderboard shortcode handler. When any user - including administrators - visits a page containing the injected shortcode, the payload executes in their browser, enabling session hijacking or privilege escalation. No public exploit or CISA KEV listing has been identified at time of analysis; fix is available in version 3.1.1 as confirmed by WordPress plugin trac changeset 3572451.
RemediationAI
Update the myCred WordPress plugin to version 3.1.1 or later; this is the vendor-released patch as evidenced by WordPress plugin trac changeset 3572451 and modified code visible in the 3.1.1 repository tag at includes/classes/class.query-leaderboard.php and includes/mycred-functions.php. Full advisory details are at https://www.wordfence.com/threat-intel/vulnerabilities/id/041a7c9a-d7dc-4742-b879-f1836f324a46. If immediate patching is not feasible, restrict the contributor role to fully trusted internal users only, removing it from any publicly registerable roles - this eliminates the attacker's required access level but may impact editorial workflows. Alternatively, disable the myCred leaderboard shortcode via a mu-plugin filter (add_filter('mycred_shortcodes', ...)) until the upgrade can be applied; note this disables leaderboard display site-wide. A Web Application Firewall rule blocking <script, javascript:, and onerror= patterns in shortcode attribute submissions provides a partial defense-in-depth layer but should not substitute for patching.
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 flaw is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS), occurring specifically in the myCred leaderboard shortcode rendering pipeline. Vulnerable code paths are traceable in the WordPress plugin trac to includes/classes/class.query-leaderboard.php (line 1042 in the 3.0.2 and 3.0.6 tags) and includes/shortcodes/mycred_leaderboard.php (line 20), where the 'wrap' attribute value is interpolated directly into HTML output without calling WordPress sanitization functions such as esc_attr() or wp_kses(). The 3.1.1 tag shows the same class at a shifted line (L976) alongside changes in includes/mycred-functions.php (L4399), indicating refactored sanitization logic was introduced. WordPress shortcodes accept arbitrary key-value attributes by design, making every unescaped attribute a potential stored XSS vector. CPE: cpe:2.3:a:saadiqbal:points_management_system_for_gamification,_ranks,_badges,_and_loyalty_rewards_program_-_mycred:*:*:*:*:*:*:*:*.
Know when Wordpress Plugin 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
PR:L confirmed by contributor requirement; UI:R reflects that a victim must visit the injected page for payload execution; S:C and C:L/I:L capture cross-browser session impact with no availability consequence.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'wrap' Shortcode Attribute in all versions up to, and including, 3.1 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.
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.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-37562
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB