CVE-2020-13942: Apache Unomi - Expression Language Injection
- Cve: CVE-2020-13942
- Name: Apache Unomi - Expression Language Injection
- 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.
- Impact: Attackers can execute arbitrary code with the server's permissions, leading to full system compromise.
- Remediation: Update to version 1.5.2 or later.
- Vulnerability type: expression_language_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to inject scripting into conditions
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.68516
- Epss percentile: 0.99345
- Assignee: [email protected]
- Published at: 2020-11-24T18:15:11Z
- Age in days: 2191
- Modified at: 2026-06-17T02:53:56Z
- Patch available: yes
- Public exploits total: 16
- References total: 15
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-13942
- Nvd status: modified
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2021-04-12 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2020-13942 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13942.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://advisory.checkmarx.net/advisory/CX-2020-4284 | nvd | 2020-11-24 |
| https://github.com/CyberCTF/vulhub-unomi-cve-2020-13942 | poc-in-github | 2026-10-08 |
| https://github.com/corsisechero/CVE-2020-13942byVulHub | poc-in-github | 2025-04-02 |
| https://github.com/corsisechero/CVE-2020-13942byVulHub.git | vulncheck-xdb | 2025-04-02 |
| https://github.com/Prodrious/CVE-2020-13942 | poc-in-github | 2021-09-05 |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:unomi | >= 1.5.0, < 1.5.2 | no | nvd | /v1/products/apache/unomi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/unomi | product | yes | /v1/repositories/apache/unomi |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2021-04-12
- Public exploit: yes
- Public exploit count: 16
- Public exploit first date: 2020-11-18
- Remote: yes
- Exposed hosts: 10
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports