LearnPress Course Review stored DOM-based XSS in review titles
thimpress LearnPress – Course Review
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| thimpress LearnPress – Course Review |
| No fix yet |
Original 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.
From the CVE record · Wordfence
References
- wordfence.com/threat-intel/vulnerabilities/id/0f166e2e-6dd5-4453-8448-b7d7905dbf49?source=cve
- plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/TemplateHooks/CourseRatingTemplate.php#L397
- plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/TemplateHooks/CourseRatingTemplate.php#L640
- plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/load.php#L569
- plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.2/inc/functions.php#L208
- plugins.trac.wordpress.org/browser/learnpress-course-review/tags/4.2.3/inc/TemplateHooks/CourseRatingTemplate.php