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.
Published: 2026-07-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 21 Jul 2026 02:00:00 +0000

Type Values Removed Values Added
First Time appeared Learnpress
Learnpress learnpress
Wordpress
Wordpress wordpress
Vendors & Products Learnpress
Learnpress learnpress
Wordpress
Wordpress wordpress

Mon, 20 Jul 2026 15:30:00 +0000

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'}


Mon, 20 Jul 2026 07:15:00 +0000

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

Subscriptions

Learnpress Learnpress
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-07-20T15:01:31.822Z

Reserved: 2026-06-23T09:44:40.334Z

Link: CVE-2026-12970

cve-icon Vulnrichment

Updated: 2026-07-20T15:01:22.728Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T07:30:13Z

Weaknesses
  • CWE-79

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