{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-22980","id":"CVE-2022-22980","title":"SpEL Injection in Spring Data MongoDB","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.","descriptionLong":"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.","published":"2022-06-22T13:56:00.000Z","updated":"2026-10-28T02:30:26.819751518Z","reserved":"2022-01-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"critical","products":["Spring Data MongoDB"],"affectedProducts":[{"vendor":"n/a","product":"Spring Data MongoDB","defaultStatus":null,"versions":[{"status":"affected","version":"3.4.0, 3.3.0 to 3.3.4 and Older"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.data:spring-data-mongodb","purl":"pkg:maven/org.springframework.data/spring-data-mongodb","ranges":[">=3.4.0 <3.4.1","<3.3.5"],"fixed":["3.4.1","3.3.5"],"advisory":"GHSA-w24x-87mr-4r23"}],"cwes":["CWE-917"],"aliases":["GHSA-w24x-87mr-4r23"],"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-22980","tags":["x_refsource_MISC","x_transferred","Mitigation","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22980.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22980","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.17836,"epssPercentile":0.97228,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-22980","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22980","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-22980","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w24x-87mr-4r23","ok":true,"note":"GHSA-w24x-87mr-4r23"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-22980","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["mongodb"],"critical":["CVSS 9.8 in a widely used technology","EPSS 18% with CVSS 9.8"],"attention":null}