Back
CVE-2022-22980
A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL…
Critical9.8EPSS 17.8%
- Published
- Updated
- Reserved
- Assigned by
- vmware
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 17.8% · top 2.8% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- Spring Data MongoDB SpEL Expression injection vulnerability through annotated repository query methods
- CWE-917 (opens in a new tab)All about CWE-917 and its CVEs
Affected products
Spring Data MongoDB
- affected 3.4.0, 3.3.0 to 3.3.4 and Older
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.springframework.data:spring-data-mongodbGHSA-w24x-87mr-4r23 (opens in a new tab)
References (1)
- https://tanzu.vmware.com/security/cve-2022-22980 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w24x-87mr-4r23 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-22980)Record last updated .