Skip to main content

LearnPress CVE-2025-14387

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-15 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or use Subscriber account
  2. Delivery
    Submit crafted script in profile social/extra-info field
  3. Exploit
    Payload stored unescaped (missing esc_attr)
  4. Execution
    Admin or user views injected page
  5. Persist
    Script executes in victim browser context
  6. Impact
    Session/account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account with Subscriber-level access or above (PR:L) - on sites allowing open user registration this is trivially obtained, but registration-disabled or private sites raise the barrier significantly. The specific vectors are user profile fields handled by learn_press_update_user_profile_basic_information (user_profile_social) and learn_press_update_extra_user_profile_fields (_lp_extra_info), which stored attacker input without esc_attr escaping in versions ≤4.3.1. Payload execution is deferred and depends on a separate victim (another user or administrator) later viewing the injected profile/page, which limits reliability but increases impact when an admin is the viewer.

Impact

This is a genuine but moderate-priority issue rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4 Medium) indicates network-reachable, low-complexity exploitation but requires authentication: PR:L maps to the stated Subscriber-level account, which on many LearnPress sites is self-registerable, lowering the practical barrier. EPSS is low at 0.23% (13th percentile), consistent with the absence of any public exploit and no CISA KEV listing, so there is no evidence of widespread or automated exploitation. The signals are internally consistent - a low-privilege stored XSS in a widely-installed plugin - with no contradictions between CVSS, EPSS, and KEV. The Scope:Changed metric correctly reflects that injected script executes in the browser context of other users (including administrators) who view the affected profile/page, which is the primary risk driver and can lead to session/account takeover despite the modest C:L/I:L impact ratings. No SSVC or POC data was supplied in the input; exploitation status is therefore 'no public exploit identified at time of analysis.'

Exploit ScenarioDerived

An attacker registers or uses a Subscriber-level account and submits malicious JavaScript into a profile field (e.g. the social/extra-info fields fixed in the patch), which is stored without proper escaping. When another user - potentially an administrator reviewing the profile - loads the affected page, the script executes in their browser, enabling session hijacking or actions on their behalf. No public exploit code was identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Stored cross-site scripting in LearnPress, the WordPress LMS plugin, affects all versions up to and including 4.3.1 and lets any authenticated user holding Subscriber-level access or higher plant arbitrary JavaScript in profile fields such as user_profile_social and _lp_extra_info. The payload is persisted in user meta and executes in the browser of anyone who later views the affected profile or page, so an administrator reviewing the poisoned account is the highest-value target, though execution depends on that separate victim visit and is therefore deferred rather than immediate. The issue is not confirmed as actively exploited (no CISA KEV listing) and no public exploit code has been identified at time of analysis, with EPSS at 0.23% (13th percentile) reflecting low predicted exploitation activity; it is a genuine but moderate-priority issue.

RemediationAI

Apply the upstream fix by updating LearnPress past 4.3.1; the specific patch is the commit at https://github.com/LearnPress/learnpress/commit/3bdaa63920c7d485e7efa7c92d3f19273a2916ff, which replaces LP_Request::get_array() with LP_Request::get_param() for user_profile_social, reads _lp_extra_info through LP_Request::get_param(..., 'post'), and adds esc_attr() around the social icon class in get_profile_social(). Upstream fix available (PR/commit); released patched version not independently confirmed, so verify the plugin's current changelog and version number before assuming a tagged release resolves it, and consult the Wordfence advisory for the vendor's stated fixed version. Since the prerequisite is a Subscriber-level account, the most effective compensating control is to disable open user registration and remove unused Subscriber accounts, which raises the barrier from trivial to significant but limits legitimate enrollment on LMS sites that depend on self-service signup. Restricting the profile-editing capability (for example stripping the edit_user / profile update capability from low-privileged roles) blocks the injection vector but prevents learners from maintaining their own profiles. Teams unable to patch immediately can also deploy a WAF rule filtering script markup in POST parameters named user_profile_social and _lp_extra_info, accepting the trade-off of potential false positives on legitimate profile content, and should review user meta for injected script tags as part of detection. Note that the CVSS vector is PR:L, so the attack is authenticated, not anonymous, and no public exploit code or KEV-confirmed exploitation currently elevates urgency beyond standard patch-cycle prioritization.

Affected ProductsAI

The LearnPress - WordPress LMS Plugin for WordPress is affected in all versions up to and including 4.3.1; the vendor has not published a CPE string in the available data, so identification should be done by plugin slug (learnpress) and installed version rather than by CPE. The vulnerable code paths are learn_press_update_user_profile_basic_information (user_profile_social) and learn_press_update_extra_user_profile_fields (_lp_extra_info) in inc/user/lp-user-functions.php, with unescaped output in get_profile_social() in inc/user/abstract-lp-user.php. Any WordPress site running the plugin at or below 4.3.1 that permits users to register or maintain profiles - particularly sites with open registration - is exposed. The authoritative vendor advisory is at https://www.wordfence.com/threat-intel/vulnerabilities/id/f29b3a37-436d-4d03-8818-d5267b23067b?source=cve and the upstream fix commit is https://github.com/LearnPress/learnpress/commit/3bdaa63920c7d485e7efa7c92d3f19273a2916ff.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-79 improper-neutralization-of-input-during-web-page-generation bug in WordPress plugin code. LearnPress handled two profile update paths without adequate escaping: in inc/user/lp-user-functions.php, learn_press_update_user_profile_basic_information() fetched the user_profile_social value using LP_Request::get_array(), and learn_press_update_extra_user_profile_fields() passed $_POST['_lp_extra_info'] through LP_Helper::sanitize_params_submitted() before storing it with update_user_meta(); the social icon key was then interpolated into an HTML <i> tag in inc/user/abstract-lp-user.php via get_profile_social() using sprintf() without esc_attr(). Because the social value was read as an array rather than a sanitized scalar and the icon class name was emitted raw into markup, attacker-controlled strings survived into stored user meta and were rendered unescaped on profile output. The upstream commit 3bdaa63920c7d485e7efa7c92d3f19273a2916ff addresses this by switching to LP_Request::get_param() and wrapping the class-name value in esc_attr(). The CVSS vector's PR:L reflects that the attacker needs a low-privileged authenticated account, while S:C indicates the injected script can affect resources beyond the vulnerable component's own security scope once rendered to another user.

Know when WordPress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Network-reachable profile update with low complexity; PR:L reflects the required Subscriber account; S:C because stored script executes in other users' browser context; C:L/I:L with no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The LearnPress - WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.3.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
LearnPress is a widely-installed WordPress LMS plugin but not universal
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy