{"id":"CVE-2020-13942","aliases":["EUVD-2022-1257","GHSA-xp5j-wj4h-2jq9"],"status":"published","title":"Remote Code Execution in Apache Unomi","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.68516,"percentile":0.99347,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20","CWE-74"],"published":"2020-11-24T18:00:16Z","modified":"2026-10-24T10:30:50Z","exploits":[{"source":"pocgithub","id":"lp008/CVE-2020-13942","title":"lp008/CVE-2020-13942","date":"2020-11-18","url":"https://github.com/lp008/CVE-2020-13942"},{"source":"pocgithub","id":"eugenebmx/CVE-2020-13942","title":"eugenebmx/CVE-2020-13942","date":"2020-11-19","url":"https://github.com/eugenebmx/CVE-2020-13942"},{"source":"pocgithub","id":"shifa123/CVE-2020-13942-POC-","title":"shifa123/CVE-2020-13942-POC-","date":"2020-11-20","url":"https://github.com/shifa123/CVE-2020-13942-POC-"},{"source":"pocgithub","id":"blackmarketer/CVE-2020-13942","title":"blackmarketer/CVE-2020-13942","date":"2020-11-21","url":"https://github.com/blackmarketer/CVE-2020-13942"},{"source":"pocgithub","id":"yaunsky/Unomi-CVE-2020-13942","title":"yaunsky/Unomi-CVE-2020-13942","date":"2020-12-22","url":"https://github.com/yaunsky/Unomi-CVE-2020-13942"},{"source":"pocgithub","id":"dev-team-12x/apche_unomi_rce","title":"dev-team-12x/apche_unomi_rce","date":"2021-01-11","url":"https://github.com/dev-team-12x/apche_unomi_rce"},{"source":"pocgithub","id":"Prodrious/CVE-2020-13942","title":"Prodrious/CVE-2020-13942","date":"2021-09-05","url":"https://github.com/Prodrious/CVE-2020-13942"},{"source":"pocgithub","id":"corsisechero/CVE-2020-13942byVulHub","title":"corsisechero/CVE-2020-13942byVulHub","date":"2025-04-02","url":"https://github.com/corsisechero/CVE-2020-13942byVulHub"},{"source":"pocgithub","id":"CyberCTF/vulhub-unomi-cve-2020-13942","title":"CyberCTF/vulhub-unomi-cve-2020-13942","date":"2026-10-08","url":"https://github.com/CyberCTF/vulhub-unomi-cve-2020-13942"},{"source":"nuclei","id":"CVE-2020-13942","title":"Apache Unomi \u003c1.5.2 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13942.yaml"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.unomi:unomi","fixed_in":["1.5.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.unomi:unomi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.unomi:unomi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2"}]}],"versions":["1.0.0-incubating","1.1.0-incubating","1.2.0-incubating","1.3.0-incubating","1.5.0","1.5.1"]}],"products":[{"vendor":"apache","product":"unomi"},{"vendor":"apache software foundation","product":"apache unomi"}],"references":[{"url":"http://unomi.apache.org./security/cve-2020-13942.txt","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cdev.unomi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cusers.unomi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cusers.unomi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cdev.unomi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2020/11/24/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4284","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460%40%3Ccommits.unomi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13942","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f@%3Cannounce.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cdev.unomi.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cusers.unomi.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a@%3Cdev.unomi.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a@%3Cusers.unomi.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460@%3Ccommits.unomi.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xp5j-wj4h-2jq9"}],"sources":{"cve":[{"id":"CVE-2020-13942","title":"Remote Code Execution in Apache Unomi","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","status":"published","published":"2020-11-24T18:00:16Z","modified":"2025-02-13T16:27:30.019Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:35:53.868619Z"}],"euvd":[{"id":"EUVD-2022-1257","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","status":"published","published":"2020-11-24T18:00:16Z","modified":"2025-02-13T16:27:30Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"none"}],"updated_at":"2026-11-03T00:03:53.290549Z"}],"ghsa":[{"id":"GHSA-xp5j-wj4h-2jq9","title":"Injection and Improper Input Validation in Apache Unomi","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","status":"published","published":"2022-02-10T00:30:54Z","modified":"2023-02-01T05:05:36Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-20","CWE-74"],"updated_at":"2026-11-02T14:36:34.917834Z"}],"nvd":[{"id":"CVE-2020-13942","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","status":"published","published":"2020-11-24T18:15:11.91Z","modified":"2026-06-17T02:53:56.88Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20","CWE-74"],"updated_at":"2026-11-02T14:06:25.394006Z"}],"osv":[{"id":"CVE-2020-13942","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","status":"published","published":"2020-11-24T18:15:11.91Z","modified":"2026-10-24T10:30:50.42701421Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:14.418339Z"},{"id":"GHSA-xp5j-wj4h-2jq9","title":"Injection and Improper Input Validation in Apache Unomi","description":"It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.","status":"published","published":"2022-02-10T00:30:54Z","modified":"2023-11-08T04:02:23.451746Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-20","CWE-74"],"updated_at":"2026-11-02T15:47:00.198893Z"}]}}
