What the vulnerability does
01Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'skin' attribute of the learn_press_courses shortcode in all versions up to and including 4.3.3. This is due to insufficient input sanitization and output escaping on the 'skin' shortcode attribute. The attribute value is used directly in an sprintf() call that generates HTML (class attribute and data-layout attribute) without any esc_attr() 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.3.3 contain a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. These scripts execute in the browsers of other users, including administrators, potentially compromising accounts or stealing sensitive data. The vulnerability affects the plugin's core functionality and can impact all site visitors.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers, potentially stealing credentials or session tokens.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other users and admins; site data and user accounts at risk.
Conditions required to exploit
05Prerequisites
Attacker must have a user account with at least low-level privileges on the WordPress site.
Key dates
06Disclosure timeline
April 8, 2026
CVE published
April 8, 2026
Record updated