CVE-2025-51825 JeecgBoot SQL Injection Vulnerability
Attackers can execute arbitrary SQL commands via the parseSql endpoint, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-51825?
CVE-2025-51825 is a medium-severity SQL injection vulnerability in n/a, published on 22 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
JeecgBoot versions from 3.4.3 up to 3.8.0 were found to contain a SQL injection vulnerability in the /jeecg-boot/online/cgreport/head/parseSql endpoint, which allows bypassing SQL blacklist restrictions.
Weakness: CWE-89
Which versions are affected by CVE-2025-51825?
2 open source packages ship an affected version, including org.jeecgframework.boot:jeecg-boot-base-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jeecgframework.boot:jeecg-boot-base-core Maven | From 3.4.3 | 3.8.1 |
org.jeecgframework.boot:jeecg-boot-base-core Maven | From 3.4.3 | 3.8.1 |
Products include Guojusoft Jeecgboot.
How do I fix CVE-2025-51825?
Upgrade org.jeecgframework.boot:jeecg-boot-base-core to 3.8.1 or later.
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-2025-51825 being exploited?
There is no known exploitation of CVE-2025-51825 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-gj8w-ffq9-6828.