Vulnerability in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses — CVE-2026-12230
MediumSeverity
—Estimated exploit probability
70,000+ sitesInstalls
4.4.0Fixed in
What to do now
Update LearnPress – WordPress LMS Plugin for Create and Sell Online Courses to 4.4.0 or later.
Affected versions
- Everything up to and including 4.3.9.1
Affected: LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (plugin, learnpress)
What the vulnerability is
The LearnPress – WordPress LMS Plugin for Create and Sell Online Courses plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'layout_custom_css' parameter in all versions up to, and including, 4.3.9.1 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.
Sources
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.4/inc/ExternalPlugin/Elementor/Widgets/Instructor/ListInstructorsElementor.php#L45
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.4/inc/ExternalPlugin/Elementor/Widgets/Instructor/ListInstructorsElementor.php#L82
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.4.0/inc/ExternalPlugin/Elementor/Widgets/Instructor/ListInstructorsElementor.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9f662888-c388-4191-bda9-b8a22d63cb3f?source=cve