# CVE-2020-13942: Remote Code Execution in Apache Unomi

- 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): 68.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-24T18:00:16.000Z
- Modified: 2026-06-17T02:53:56.880Z
- Also known as: GHSA-xp5j-wj4h-2jq9
- Weaknesses: CWE-20, CWE-74
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Unomi: from unspecified before 1.5.2
- org.apache.unomi:unomi (Maven): before 1.5.2
- apache unomi: from 1.5.0 before 1.5.2

## Every score

- GitHub: 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: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 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://advisory.checkmarx.net/advisory/CX-2020-4284> (exploit, third-party-advisory, web)
- <http://unomi.apache.org./security/cve-2020-13942.txt> (mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cdev.unomi.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cusers.unomi.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cusers.unomi.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cdev.unomi.apache.org%3E> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2020/11/24/5> (mailing-list, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460%40%3Ccommits.unomi.apache.org%3E> (mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13942> (advisory)
- <https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f@%3Cannounce.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cdev.unomi.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cusers.unomi.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460@%3Ccommits.unomi.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a@%3Cdev.unomi.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a@%3Cusers.unomi.apache.org%3E> (web)

## Sources

- CVE List: [CVE-2020-13942](https://www.cve.org/CVERecord?id=CVE-2020-13942), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-xp5j-wj4h-2jq9](https://github.com/advisories/GHSA-xp5j-wj4h-2jq9), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-13942](https://nvd.nist.gov/vuln/detail/CVE-2020-13942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-13942 · Whole record: https://cve.day/CVE-2020-13942.json · Rebuilt by cve.day 2026-11-25T22:57:55.931Z
