CVE-2025-14387
📋 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
- LearnPress - WordPress LMS Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
allAdd 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=")