Description
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.
Published: 2026-04-08
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS via the 'skin' attribute of the learn_press_courses shortcode
Action: Patch Immediately
AI Analysis

Impact

The LearnPress plugin contains a stored cross‑site scripting flaw that allows any authenticated user with Contributor or higher privileges to inject malicious JavaScript through the 'skin' attribute of the learn_press_courses shortcode. The value entered is incorporated directly into HTML attributes without sanitization, so the script executes in the browsers of every visitor to pages that contain the malicious shortcode, enabling session hijacking, defacement, or other client‑side attacks.

Affected Systems

All installations of the LearnPress WordPress LMS Plugin up to and including version 4.3.3 are affected. Users who can edit or create pages containing the learn_press_courses shortcode can insert the vulnerable attribute. Upgrading to any release newer than 4.3.3 removes the vulnerability.

Risk and Exploitability

The CVSS base score of 6.4 indicates a medium‑to‑high risk. No exploit probability score is available, and the flaw is not listed in the CISA Known Exploited Vulnerabilities catalog. Because the attack requires authenticated access and involves a widely used WordPress shortcode, it could be exploited opportunistically by anyone with Contributor access or higher, affecting the integrity and confidentiality of users viewing the compromised content.

Generated by OpenCVE AI on April 8, 2026 at 05:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update LearnPress to version 4.3.4 or later.
  • If an immediate update is not possible, remove or sanitize the 'skin' attribute from all instances of the learn_press_courses shortcode.
  • Review and restrict Contributor and higher roles to limit who can edit page content containing shortcodes.

Generated by OpenCVE AI on April 8, 2026 at 05:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Thimpress
Thimpress learnpress – Wordpress Lms Plugin For Create And Sell Online Courses
Wordpress
Wordpress wordpress
Vendors & Products Thimpress
Thimpress learnpress – Wordpress Lms Plugin For Create And Sell Online Courses
Wordpress
Wordpress wordpress

Wed, 08 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 04:30:00 +0000

Type Values Removed Values Added
Description 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.
Title LearnPress <= 4.3.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'skin' Shortcode Attribute
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

Thimpress Learnpress – Wordpress Lms Plugin For Create And Sell Online Courses
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:37:04.041Z

Reserved: 2026-03-17T14:08:14.694Z

Link: CVE-2026-4333

cve-icon Vulnrichment

Updated: 2026-04-08T15:07:25.714Z

cve-icon NVD

Status : Deferred

Published: 2026-04-08T05:16:06.683

Modified: 2026-04-27T19:04:22.650

Link: CVE-2026-4333

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-08T19:44:06Z

Weaknesses