CVE-2025-58648

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Simple JWT Login WordPress plugin allows attackers to inject malicious scripts that execute when other users view affected pages. All WordPress sites using Simple JWT Login versions up to 3.6.4 are affected. Attackers could steal session cookies, redirect users, or perform actions on their behalf.

💻 Affected Systems

Products:
  • Simple JWT Login WordPress Plugin
Versions: All versions up to and including 3.6.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with Simple JWT Login plugin enabled are vulnerable regardless of configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over WordPress sites, install backdoors, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies or credentials, potentially compromising user accounts and performing unauthorized actions.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before execution, preventing successful exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires the attacker to have some level of access to inject malicious payloads, but specific authentication requirements are not detailed in available references.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 3.6.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/simple-jwt-login/vulnerability/wordpress-simple-jwt-login-plugin-3-6-4-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Simple JWT Login plugin. 4. Click 'Update Now' if update is available. 5. If no update appears, manually download version 3.6.5+ from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable Simple JWT Login Plugin

WordPress

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate simple-jwt-login

Implement WAF Rules

all

Configure web application firewall to block XSS payload patterns

🧯 If You Can't Patch

  • Implement strict Content Security Policy (CSP) headers to restrict script execution
  • Enable WordPress security plugins with XSS protection features

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Simple JWT Login → Version number. If version is 3.6.4 or lower, you are vulnerable.

Check Version:

wp plugin get simple-jwt-login --field=version

Verify Fix Applied:

After updating, verify Simple JWT Login plugin shows version 3.6.5 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests containing script tags or JavaScript payloads to Simple JWT Login endpoints
  • Multiple failed authentication attempts followed by successful login with script injection

Network Indicators:

  • HTTP requests containing <script>, javascript:, or eval() patterns targeting Simple JWT Login plugin URLs

SIEM Query:

source="wordpress.log" AND ("simple-jwt-login" OR "jwt-login") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export