CVE-2025-14387

6.4 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the LearnPress WordPress plugin allows authenticated attackers with Subscriber-level access or higher to inject malicious scripts into pages. When users visit compromised pages, the scripts execute in their browsers, potentially stealing credentials or performing unauthorized actions. All WordPress sites using LearnPress up to version 4.3.1 are affected.

💻 Affected Systems

Products:
  • LearnPress - WordPress LMS Plugin
Versions: All versions up to and including 4.3.1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with LearnPress plugin enabled. Attackers need at least Subscriber-level authenticated access.

⚠️ 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 credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with subscriber accounts inject malicious scripts to steal session cookies or credentials from users visiting affected pages.

🟢

If Mitigated

With proper input validation and output escaping, the vulnerability is prevented, and only legitimate content displays on pages.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access but is technically simple once an attacker has valid credentials.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.3.2 or later

Vendor Advisory: https://github.com/LearnPress/learnpress/commit/3bdaa63920c7d485e7efa7c92d3f19273a2916ff

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find LearnPress plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 4.3.2+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Temporary Input Sanitization

all

Add custom input sanitization filters to WordPress functions.php to sanitize LearnPress inputs

Add custom sanitization code to wp-content/themes/your-theme/functions.php

🧯 If You Can't Patch

  • Restrict user registration and review existing subscriber accounts for suspicious activity.
  • Implement Content Security Policy (CSP) headers to limit script execution sources.

🔍 How to Verify

Check if Vulnerable:

Check LearnPress plugin version in WordPress admin under Plugins > Installed Plugins. If version is 4.3.1 or lower, you are vulnerable.

Check Version:

wp plugin list --name=learnpress --field=version

Verify Fix Applied:

After updating, verify plugin version shows 4.3.2 or higher. Test input fields that previously accepted unsanitized HTML/script content.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to LearnPress endpoints with script tags
  • Multiple failed login attempts followed by successful subscriber login

Network Indicators:

  • Unexpected outbound connections from WordPress site after page visits
  • Suspicious JavaScript payloads in HTTP requests

SIEM Query:

source="wordpress.log" AND ("learnpress" OR "lp_") AND ("<script" OR "javascript:" OR "onload=" OR "onerror=")

🔗 References

📤 Share & Export