CVE-2025-24740

LearnPress <= 4.2.7.1 - Authenticated (Subscriber+) Open Redirect

2025-01-24 00:00
ardias

Strategic Overview

Status
Patched in 4.2.7.2
Affected Version
<= 4.2.7.1
CVSS
5.4Medium
Weakness type
CWE-601 · URL Redirection to Untrusted Site ('Open Redirect')
CVE
CVE-2025-24740
View all LearnPress – WordPress LMS Plugin for Create and Sell Online Courses vulnerabilities

At a glance

CVE-2025-24740 is a medium-severity URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the LearnPress WordPress plugin, affecting versions <= 4.2.7.1. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 4.2.7.2; sites on affected versions should update now. Disclosed January 2025, reported by ardias.

Vulnerability Overview

The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Open Redirect in all versions up to, and including, 4.2.7.1. This is due to insufficient validation on a redirect url supplied. This makes it possible for authenticated attackers, with subscriber-level access and above, to redirect users to potentially malicious sites if they can successfully trick them into performing an action.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed.

CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Reaching this weakness in LearnPress <= 4.2.7.1 takes an account at Subscriber level or above. An open redirect is a page that takes a destination from the request and sends the browser there without checking that the destination belongs to the site.

A link that starts on a trusted domain finishes on an attacker's, which is what makes phishing and consent-screen abuse credible to the person clicking it. For LearnPress the fix is 4.2.7.2: builds <= 4.2.7.1 are affected, anything from 4.2.7.2 onward is not.

Remediation

Update to version 4.2.7.2, or a newer patched version

How does WordSec protect against this?

An attacker needs Subscriber access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: LearnPress 4.2.7.2 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C