LearnPress reflects input into a public-page HTML attribute
LearnPress from 4.2.6.4 up to but not including 4.4.7: On a site using a classic, non-block theme, an unauthenticated attacker can craft a link containing a value rendered unescaped in an HTML attribute. A visitor who opens it can execute attacker-supplied JavaScript under the site's origin, including within a logged-in administrator's session. The export does not name the route, parameter or rendering function.
- Component
- LearnPress
- Plugin slug
learnpress- Affected
- 4.2.6.4 to < 4.4.7
- Safe version
4.4.7- Published
- Sep 16, 2026
This CVE was published Sep 16, 2026 and is one of 81 known issues for this plugin.
Update, patch or deactivate.
Update LearnPress to 4.4.7 or later. Escape the value for its precise HTML attribute context and validate its permitted values before rendering. Restrict the affected public feature until updated; the export limits this issue to classic-theme sites.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The LearnPress WordPress plugin before 4.4.7 does not escape a user supplied value before using it in an HTML attribute on a public page, allowing unauthenticated attackers to execute arbitrary JavaScript in the browser of anyone who opens a crafted link, including a logged in administrator. Only sites running a classic, non-block are affected.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L