CVE-2022-22980
mediumpriority · attend · 55EPSS 0.178 · 97 %ileexploit · PoCEURUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (7)
Public proof-of-concept and weaponised exploit code.
- Eliasdekiniweek/CVE-2022-22980Exploitation de CVE-2022-22980PoC · poc_in_github
- jweny/cve-2022-22980CVE-2022-22980 exp && 靶场PoC · poc_in_github
- kuron3k0/Spring-Data-Mongodb-ExampleCVE-2022-22980环境PoC · poc_in_github
- li8u99/Spring-Data-Mongodb-DemoCVE-2022-22980环境PoC · poc_in_github
affected products (7)
Products and version ranges known to be affected.
- Maven org.springframework.data:spring-data-mongodb< 3.3.5osvUSpkg:maven/org.springframework.data/spring-data-mongodb
- Maven org.springframework.data:spring-data-mongodb3.4.0 → 3.4.1osvUSpkg:maven/org.springframework.data/spring-data-mongodb
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-w24x-87mr-4r23SpEL Injection in Spring Data MongoDB2022-06-24ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-22980/cnnvd
- https://tanzu.vmware.com/security/cve-2022-22980cnnvd
- https://vigilance.fr/vulnerability/Spring-Data-MongoDB-read-write-access-via-SpEL-Injection-43829cnnvd
- https://tanzu.vmware.com/security/cve-2022-22980enisa_euvd
- https://tanzu.vmware.com/security/cve-2022-22980MitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan