LearnPress <= 4.4.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'class_wrapper_form' Shortcode Attribute

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-12732
CVSS 6.4 (Medium)
Publicly Published June 30, 2026
Last Updated July 1, 2026
Researchers zaim
Wordfence PRISM - Wordfence

Description

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

Software Type Plugin
Software Slug learnpress (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.4.1, or a newer patched version
Affected Version
  • <= 4.4.0
Patched Version
  • 4.4.1

Recent vulnerabilities in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

# Title CVE ID CVSS Researchers Date
1 LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.9 - Unauthenticated Stored Cross-Site Scripting CVE-2026-104670 7.2 daroo October 5, 2026
2 LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.9.1 - Authenticated (Instructor+) Stored Cross-Site Scripting CVE-2026-105397 6.4 HunterSploit October 5, 2026
3 LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.9.1 - Missing Authorization CVE-2026-39717 4.3 Ananda Dhakal October 2, 2026
4 LearnPress <= 4.4.7 - Reflected DOM-Based Cross-Site Scripting via 'orderby' Parameter CVE-2026-92538 6.1 Yuto Hyakumoto October 2, 2026
5 LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.9 - Unauthenticated Insecure Direct Object Reference CVE-2026-104403 5.3 Ananda Dhakal October 2, 2026
6 LearnPress <= 4.4.8 - Insecure Direct Object Reference to Unauthenticated Sensitive Information Disclosure via 'item_id' Parameter CVE-2026-93882 7.5 Khoa Dang September 30, 2026
7 LearnPress 4.4.3 - 4.4.6 - Unauthenticated Information Exposure CVE-2026-86446 5.3 Nicat Sultanov September 15, 2026
8 LearnPress <= 4.4.6 - Unauthenticated Information Exposure CVE-2026-86445 5.3 Karthik Ramakrishnan September 14, 2026
9 LearnPress <= 4.4.6 - Reflected Cross-Site Scripting CVE-2026-86444 6.1 Karthik Ramakrishnan September 14, 2026
10 LearnPress <= 4.4.6 - Unauthenticated Information Exposure CVE-2026-86447 5.3 vuxvinh September 14, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation