What the vulnerability does
01Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘layout_html’ parameter in all versions up to, and including, 4.2.6.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-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.6.5 contain a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. These scripts execute in the browsers of other site visitors, potentially compromising their accounts or stealing sensitive data. The vulnerability affects the plugin's course and lesson management features.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view affected content.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts that steal admin credentials, deface content, or compromise visitor accounts.
Conditions required to exploit
05Prerequisites
Attacker must have a WordPress user account with at least low-level privileges (e.g., student or instructor role).
Key dates
06Disclosure timeline
May 10, 2024
CVE published
April 8, 2026
Record updated