# CVE-2022-22980: SpEL Injection in Spring Data MongoDB

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 17.8%, higher than 97% of CVEs (2026-12-01)
- Published: 2022-06-22T13:56:00.000Z
- Modified: 2026-06-17T04:29:17.273Z
- Also known as: GHSA-w24x-87mr-4r23
- Weaknesses: CWE-917
- 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.

(As written by CVE List.)

## Affected

- Spring Data MongoDB: 3.4.0, 3.3.0 to 3.3.4 and Older
- org.springframework.data:spring-data-mongodb (Maven): from 3.4.0 before 3.4.1; before 3.3.5
- vmware spring_data_mongodb: up to 3.3.4; 3.4.0

## Every score

- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://tanzu.vmware.com/security/cve-2022-22980> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-22980> (advisory)

## Sources

- CVE List: [CVE-2022-22980](https://www.cve.org/CVERecord?id=CVE-2022-22980), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-w24x-87mr-4r23](https://github.com/advisories/GHSA-w24x-87mr-4r23), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-22980](https://nvd.nist.gov/vuln/detail/CVE-2022-22980), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-22980 · Whole record: https://cve.day/CVE-2022-22980.json · Rebuilt by cve.day 2026-11-25T22:58:12.491Z
