CVE-2026-118054
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 WordPress components
-
LearnPress – Course Review Plugin · learnpress-course-reviewUp to and including 4.2.2View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- thimpress LearnPress – Course Review — Up to and including 4.2.2
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/TemplateHooks/CourseRatingTemplate.php#L397
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/TemplateHooks/CourseRatingTemplate.php#L640
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/functions.php#L208
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/load.php#L569
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.3/inc/TemplateHooks/CourseRatingTemplate.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/0f166e2e-6dd5-4453-8448-b7d7905dbf49?source=cve
- nvd.nist.gov Official NVD record