# CVE-2026-4333: ThimPress LearnPress Stored XSS in learn_press_courses shortcode

Source: https://junglewise.ai/threats/cve-2026-4333-thimpress-learnpress-stored-xss-in-learn-press-courses-shortcode  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-08. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-4333 · Severity: medium · CVSS 6.4 · Published 2026-04-08

LearnPress, a popular WordPress plugin used to create and sell online courses, contains a security flaw that allows users with contributor-level access to inject malicious scripts into website pages. These scripts execute automatically when other users, including site administrators or students, visit the affected pages. This could lead to unauthorized actions being performed on behalf of users or the theft of sensitive session information.

Technologies: [ThimPress LearnPress](https://junglewise.ai/threats/technologies/learnpress). Vendors: [ThimPress](https://junglewise.ai/threats/vendors/thimpress).

## Quick answers

**Is CVE-2026-4333 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-4333 being exploited in the wild.

**How severe is CVE-2026-4333?** Medium severity, with a CVSS score of 6.4, published 8 April 2026.

**Which products and versions are affected?** ThimPress LearnPress up to and including 4.3.3.

**Is there a fix for CVE-2026-4333?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-4333 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-4333?** Check whether you run ThimPress LearnPress at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The LearnPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient input sanitization and output escaping on the 'skin' attribute within the 'learn_press_courses' shortcode. The vulnerability exists because the attribute value is passed directly into an sprintf() function to generate HTML class and data-layout attributes without being processed by esc_attr(). An authenticated attacker with Contributor-level privileges or higher can exploit this to inject malicious JavaScript. The payload is stored in the database and executes in the context of any user viewing the page. A patch was introduced in version 4.3.3 (or subsequent changeset 3494377).

## Affected products

- ThimPress LearnPress – WordPress LMS Plugin up to and including 4.3.3

## Timeline

- 2026-04-08: disclosed: Initial disclosure by Wordfence
- 2026-04-08: advisory: NVD publication date

## References

- [https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.8/inc/Shortcodes/Courses/ListCoursesShortcode.php](https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.8/inc/Shortcodes/Courses/ListCoursesShortcode.php)
- [https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.8/inc/Shortcodes/Courses/ListCoursesShortcode.php](https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.8/inc/Shortcodes/Courses/ListCoursesShortcode.php)
- [https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Shortcodes/Courses/ListCoursesShortcode.php](https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Shortcodes/Courses/ListCoursesShortcode.php)
- [https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Shortcodes/Courses/ListCoursesShortcode.php](https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Shortcodes/Courses/ListCoursesShortcode.php)
- [https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3494377%40learnpress&new=3494377%40learnpress&sfp_email=&sfph_mail=](https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3494377%40learnpress&new=3494377%40learnpress&sfp_email=&sfph_mail=)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/15fb0a26-e415-4ccb-b83d-d8f7b36bce66?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/15fb0a26-e415-4ccb-b83d-d8f7b36bce66?source=cve)

## Related threats

- [ThimPress LearnPress broken access control in version 4.4.12](https://junglewise.ai/threats/cve-2026-52713-missing-authorization-vulnerability-in-thimpress-learnpress)
- [LearnPress broken access control for subscribers](https://junglewise.ai/threats/cve-2026-42690-subscriber-broken-access-control-in-learnpress-4-4-10-versions)
- [ThimPress LearnPress broken access control vulnerability](https://junglewise.ai/threats/cve-2026-115599-missing-authorization-vulnerability-in-thimpress-learnpress)
- [ThimPress LearnPress broken access control](https://junglewise.ai/threats/cve-2026-115598-missing-authorization-vulnerability-in-thimpress-learnpress)
- [ThimPress LearnPress broken access control in pages](https://junglewise.ai/threats/cve-2026-115597-missing-authorization-vulnerability-in-thimpress-learnpress)
