CVE-2022-22980
publishedMongoDB: SpEL in query methods allow code injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Spring Data MongoDB3.4.0, 3.3.0 to 3.3.4 and Older | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Spring Data MongoDB | 3.4.0, 3.3.0 to 3.3.4 and Older (affected) | vmware · cna |
Weaknesses
1- Spring Data MongoDB SpEL Expression injection vulnerability through annotated repository query methods
References
1Provider assertions
2vmware · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8fdb30bd02472fa15ca5c87507871567cd2e0906ee63746f3d286639566d250f
- Ingested
- 23 Sep 2026, 07:58:34 UTC
- Source record
- Official CVE record