Skip to content
Vulnerability SQL injection

LifterLMS SQL injection flaw CVE-2025-52717 affects 10,000+ sites

Unauthenticated SQL injection in LifterLMS plugin, patched in version 8.0.7, allows attackers to inject malicious SQL into WordPress database queries.

Reported by patchstack.com

Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
Severity
Not rated

What happened

The LifterLMS WordPress plugin, installed on over 10,000 sites, contains an SQL injection vulnerability tracked as CVE-2025-52717.1

The flaw is in the get_voucher_by_code function, where user input is not sufficiently sanitised before being used in a database query.1

Exploitation requires that registration is enabled and that students can register with a voucher code.1

The vulnerability was patched in version 8.0.7 by using a prepared statement.1

Who is affected

  • LifterLMS WordPress plugin, before 8.0.71

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • Update the LifterLMS plugin to version 8.0.7 or higher.1

For bug hunters

SQL injection remains a common bug class in WordPress plugins, especially where user input reaches database queries without prepared statements. Look for plugins that build SQL with string concatenation, particularly in functions handling voucher codes, search parameters, or other user-supplied identifiers. Test unauthenticated and authenticated endpoints that accept text input and may be used in WHERE clauses. Focus on areas like coupon redemption, user registration, and custom query parameters.

What to test

  • Test voucher code fields with SQL injection payloads like ' OR 1=1--
  • Check search or filter parameters for unsanitised input in SQL queries
  • Try authenticated and unauthenticated requests to endpoints using user input in database queries
  • Look for plugins that use sanitize_text_field but not prepared statements

The SQL injection lesson Every SQL injection report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

    patchstack.com

    SQL Injection Vulnerability Found in LifterLMS Plugin Affecting 10K+ Sites - Patchstack
    “⚠️ LifterLMS plugin (10,000+ installs) had a SQL Injection flaw (CVE-2025-52717).”

Reports about SQL injection

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, SQL injection first.