# LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.9.1 - Authenticated (Author+) Stored Cross-Site Scripting via Question Hint and Explanation

- **ID:** WPSEC-2026-0769
- **Plugin:** LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (`learnpress`), https://wordpress.org/plugins/learnpress/
- **Affected versions:** from 4.2.9 before 4.4.10
- **Fixed in:** 4.4.10 (Update to 4.4.10 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-11)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/learnpress
- **Fix released:** 2026-10-09
- **Published:** 2026-10-11
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0769/

## Description

The LearnPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the question hint and explanation fields in all versions up to, and including, 4.4.9.1. This is due to insufficient input sanitization when these fields are saved through the question edit AJAX action, and insufficient output escaping when they are returned. This makes it possible for authenticated attackers with instructor or author-level access and above to inject arbitrary web scripts into questions. These scripts execute whenever a student or administrator views the affected question.

## References

- https://wpsec.com/vuln/WPSEC-2026-0769/
- https://plugins.svn.wordpress.org/learnpress/tags/4.4.10/
- https://wordpress.org/plugins/learnpress/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0769/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
