GitHub Advisory Database
GHSA-w24x-87mr-4r23
SpEL Injection in Spring Data MongoDB
Details
A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL expressions that contain query parameter placeholders for value binding if the input is not sanitized.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.data:spring-data-mongodb | From 3.4.0 before 3.4.1 (fixed in 3.4.1) |
| Maven | org.springframework.data:spring-data-mongodb | All versions before 3.3.5 (fixed in 3.3.5) |