What the vulnerability does
01Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.2.7.5 due to insufficient input sanitization and output escaping of a lesson name. This makes it possible for authenticated attackers, with LP Instructor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
LearnPress versions up to 4.2.7.5 contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other users, including administrators. The vulnerability affects the site's scope, meaning injected code can impact functionality across the platform. Site owners should update to a version newer than 4.2.7.5.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers, potentially stealing credentials or session tokens.
Potential impact on your site
04Site Impact
Authenticated users can inject persistent malicious code affecting other users and administrators across the site.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account (e.g., student or subscriber role) on the site.
Key dates
06Disclosure timeline
January 25, 2025
CVE published
April 8, 2026
Record updated