CVE-2025-14387
Stored XSS in LearnPress WordPress Plugin Allows Script Injection
Publication date: 2025-12-15
Last updated on: 2025-12-15
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordpres | learnpress | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability be detected on my network or system? Can you suggest some commands?
To detect the CVE-2025-14387 vulnerability, you can check if your WordPress site is running the LearnPress plugin version 4.3.1 or earlier, as these versions are vulnerable. Since the vulnerability involves stored cross-site scripting via user profile social data, you can look for suspicious or unexpected script tags or HTML in user profile fields, especially social icon classes or extra user profile fields. There are no specific commands provided in the resources, but general detection steps include: 1) Reviewing user profile data for injected scripts, 2) Using WordPress CLI commands to check plugin versions, e.g., `wp plugin list` to identify LearnPress version, and 3) Searching the database for suspicious content in user meta tables related to LearnPress user profiles. Applying the patch from Resource 1 or updating the plugin to a fixed version is recommended to mitigate the issue. [1]
Can you explain this vulnerability to me?
This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the LearnPress WordPress LMS Plugin up to version 4.3.1. It occurs because the plugin does not properly sanitize and escape user input, allowing authenticated users with Subscriber-level access or higher to inject malicious scripts into pages. These scripts execute whenever any user accesses the infected page, potentially compromising user data or site integrity. [1]
How can this vulnerability impact me? :
The vulnerability allows attackers with at least Subscriber-level access to inject arbitrary scripts into the website. This can lead to unauthorized actions such as stealing user credentials, hijacking user sessions, defacing the website, or spreading malware to visitors. It compromises the security and trustworthiness of the affected WordPress site. [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, immediately update the LearnPress WordPress LMS Plugin to a version later than 4.3.1 where the vulnerability is fixed. The fix involves proper sanitization and secure handling of user-submitted social profile data and extra profile fields to prevent stored cross-site scripting (XSS). Ensure that only trusted users have access to update user profiles, and consider applying the patch that sanitizes social icon classes and securely processes user input as described in the official fix. [1]