cve.bz

CVE-2016-6652

5.6 mediumEPSS 0.8%

SQL injection vulnerability in Pivotal Spring Data JPA before 1.9.6 (Gosling SR6) and 1.10.x before 1.10.4 (Hopper SR4), when used with a repository that defines a String query using the @Query annotation, allows attackers to execute arbitrary JPQL commands via a sort instance with a function call.

Severity

CVSS 3.0

5.6 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.8% chance of exploitation in the next 30 days; higher than 57% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xr4v-28rm-pvgwMavenorg.springframework.data:spring-data-jpa<1.9.61.9.6
GHSA-xr4v-28rm-pvgwMavenorg.springframework.data:spring-data-jpa>=1.10.0 <1.10.41.10.4

References

Check your stackJSON