Description
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.
Published: 2026-09-08
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The LearnPress WordPress LMS plugin is vulnerable to a stored XSS flaw caused by insufficient sanitization of the 'layout_custom_css' parameter. This weakness (CWE‑79) means that an authenticated user with contributor‑level access or higher can persistently inject arbitrary web scripts that execute when a user visits a page rendering the custom CSS.

Affected Systems

WordPress sites that use LearnPress versions 4.3.9.1 or earlier are affected. The flaw exists in all versions up to and including 4.3.9.1 and is tied to the plugin’s layout_custom_css handling.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.4, indicating a moderate severity and a moderate likelihood of exploitation. Because the EPSS score is not available and the CVE is not listed in the CISA KEV catalog, there is no current evidence of widespread exploitation. The likely attack vector is an authenticated user with contributor permissions, which is a relatively common role on many WordPress installations. The flaw would allow the attacker to inject client‑side scripts that could deface content, steal user‑session data, or perform phishing attempts against site visitors.

Generated by OpenCVE AI on September 8, 2026 at 12:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the LearnPress plugin to version 4.4.0 or later where the 'layout_custom_css' handling has been fixed
  • If an upgrade is not immediately feasible, remove or disable the 'layout_custom_css' feature for contributor and lower roles, or add a role‑based restriction that prevents those users from submitting custom CSS
  • Implement content‑security‑policy headers to mitigate the impact of any unfiltered JavaScript that may still be injected
  • Review and harden input validation and output escaping throughout the plugin to prevent similar issues in future updates

Generated by OpenCVE AI on September 8, 2026 at 12:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 08 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title LearnPress <= 4.3.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'layout_custom_css'
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-08T11:30:00.904Z

Reserved: 2026-06-14T21:37:29.728Z

Link: CVE-2026-12230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-08T12:16:50.620

Modified: 2026-09-08T12:16:50.620

Link: CVE-2026-12230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T12:30:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')