CVE-2026-12230: LearnPress <= 4.3.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'layout_custom_css'
The LearnPress – WordPress LMS Plugin for Create and Sell Online Courses plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'layoutcustomcss' 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
LearnPress (WordPress LMS Plugin)to a version that resolves this vulnerability.Fixed in 4.3.9.1
Event History
Frequently Asked Questions
Which installations should be considered affected?
WordPress installations using LearnPress versions up to and including 4.3.9.1 are affected.
What level of access does an attacker need?
An attacker must be authenticated and have at least Contributor-level access.
When does injected code execute?
The injected script is stored in a page and executes when a user accesses that injected page.