Vulnerability · Published Nov 7, 2026 · Assigned by Wordfence
CVE-2026-118054LearnPress <= 4.2.2 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via 'review_title' Parameter
Medium 6.4
In plain English
A medium-severity cross-site scripting in LearnPress – Course Review from thimpress. There are no confirmed reports of exploitation so far.
Official description
The LearnPress – Course Review plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'review_title (inside `data.args.review_title`)' parameter in all versions up to, and including, 4.2.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The injected payload only executes after an administrator approves the submitted review, though sites with comment_previously_approved auto-approval configured may bypass manual moderation.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| thimpress | LearnPress – Course Review | 0 – through 4.2.2 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0f166e2e-6dd5-4453-8448-b7d7905dbf49?source=cve
- https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/TemplateHooks/CourseRatingTemplate.php#L397
- https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/TemplateHooks/CourseRatingTemplate.php#L640
- https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/load.php#L569
- https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/functions.php#L208
- https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.3/inc/TemplateHooks/CourseRatingTemplate.php