CVE-2026-12970

LearnPress < 4.4.1 - Reflected XSS via c_search

Published Jul 20, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
The LearnPress WordPress plugin before 4.4.1 does not escape a search parameter before reflecting it into an HTML attribute, leading to Reflected Cross-Site Scripting that executes in the browser of a logged-in instructor or administrator who is tricked into opening a crafted link.

Analysis

AI-generated

Technical impact

The LearnPress WordPress plugin before version 4.4.1 fails to escape a user-supplied search parameter, causing it to be reflected into an HTML attribute exactly as received. This flaw enables a reflected cross‑site scripting attack that runs arbitrary JavaScript in the context of any logged‑in instructor or administrator who opens a crafted link. The vulnerability is limited to the victim’s session, allowing the attacker to access session data, hijack the user’s identity or perform actions on behalf of the user, but it does not provide direct system compromise or affect data of unauthenticated users.

Affected Systems

All WordPress sites that host the LearnPress plugin in a version earlier than 4.4.1 are vulnerable. The issue is independent of site size or user count; any installation using a vulnerable plugin version will be susceptible when a privileged user follows a malicious link.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate‑to‑high risk level. An EPSS score of less than 1% reflects a very low likelihood of exploitation at the time of analysis, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a logged‑in instructor or administrator to open a specially crafted link, typically delivered via social engineering or phishing. Successful exploitation results in arbitrary JavaScript execution within the victim’s browser session, which can lead to session hijacking, credential theft, or unauthorized actions performed under the victim’s privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the LearnPress plugin to version 4.4.1 or later, which includes proper escaping of the c_search parameter.
  • If an update is not feasible, sanitize or URL‑encode the c_search value before it is inserted into any HTML attribute or otherwise block its reflection into markup.
  • Deploy a Content Security Policy that disallows inline scripts for pages served by LearnPress to mitigate the impact of any remaining XSS vectors.

Generated by OpenCVE AI on August 1, 2026 at 07:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Learnpress
Learnpress learnpress
Wordpress
Wordpress wordpress
Vendors & Products Learnpress
Learnpress learnpress
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The LearnPress WordPress plugin before 4.4.1 does not escape a search parameter before reflecting it into an HTML attribute, leading to Reflected Cross-Site Scripting that executes in the browser of a logged-in instructor or administrator who is tricked into opening a crafted link.
Title LearnPress < 4.4.1 - Reflected XSS via c_search
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Jul 20, 2026, 3:01 PM
Reserved
Jun 23, 2026, 9:44 AM
Status
Deferred
Published
Jul 20, 2026, 7:16 AM
Modified
Jul 20, 2026, 8:39 PM