CVE-2025-51825 JeecgBoot SQL Injection Vulnerability

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
org.jeecgframework.boot:jeecg-boot-base-core MavenFrom 3.4.33.8.1
org.jeecgframework.boot:jeecg-boot-base-core MavenFrom 3.4.33.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.

Sources

Also known as GHSA-gj8w-ffq9-6828.

Is CVE-2025-51825 in your software?

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

Check your SBOMs for free