Vulnerabilities / LearnPress / WPSEC-2026-4465

LearnPress <= 4.5.0 - Unauthenticated Arbitrary Shortcode Execution via 'c_search' Parameter

High 7.3 CWE-94Fixed in 4.5.1
ID
WPSEC-2026-4465
Plugin
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (learnpress)
Affected
all versions before 4.5.1
Remediation
Update to 4.5.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
Attack surface
LearnPress on WPSec AttackSurface
Fix released
Published

Description

The LearnPress plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the 'c_search' parameter in all versions up to, and including, 4.5.0. This is due to the plugin putting the parameter into the output of its Breadcrumb, Course Filter and Course Search blocks (and the course filter/search templates) without removing or encoding square brackets. When these blocks are rendered inside post content, their output goes through do_shortcode() afterwards. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on pages that contain these blocks.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0