CVE-2018-25170 DoceboLMS 1.2 SQL Injection via lesson.php

High 8.8 Published Updated

Unauthenticated attackers can inject SQL code via lesson.php parameters to extract sensitive database information from DoceboLMS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-25170?

CVE-2018-25170 is a high-severity SQL injection vulnerability in Spaghettilearning DoceboLMS, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

DoceboLMS 1.2 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the id, idC, and idU parameters. Attackers can send GET requests to the lesson.php endpoint with malicious SQL payloads to extract sensitive database information.

Weakness: CWE-352

Which versions are affected by CVE-2018-25170?

How do I fix CVE-2018-25170?

No fix has been published for CVE-2018-25170 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2018-25170 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25170 exists.

Sources

Also known as GHSA-m4h5-jmjx-wc5r.

Is CVE-2018-25170 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free