SecurityContext

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

IdName
CWE-20Improper Input Validation
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2021-04-12—no

Nuclei templates

IdUrl
CVE-2020-13942https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13942.yaml

Public exploits

UrlSourceAdded date
https://advisory.checkmarx.net/advisory/CX-2020-4284nvd2020-11-24
https://github.com/CyberCTF/vulhub-unomi-cve-2020-13942poc-in-github2026-10-08
https://github.com/corsisechero/CVE-2020-13942byVulHubpoc-in-github2025-04-02
https://github.com/corsisechero/CVE-2020-13942byVulHub.gitvulncheck-xdb2025-04-02
https://github.com/Prodrious/CVE-2020-13942poc-in-github2021-09-05

References

UrlSourceTags
http://unomi.apache.org./security/cve-2020-13942.txtnvdMailing List, Vendor Advisory
https://advisory.checkmarx.net/advisory/CX-2020-4284nvdExploit, Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/11/24/5nvdMailing List, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13942.yamlnuclei_templateNuclei Template
https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2020-13942vulncheckVulncheck Reported Exploitation
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2020-13942vulncheckVulncheck Reported Exploitation
https://www.botconf.eu/wp-content/uploads/2022/05/Botconf2022-24-PalotayZsigovits.pdfvulncheckVulncheck Reported Exploitation
https://cujo.com/the-sysrv-botnet-and-how-it-evolved/vulncheckVulncheck Reported Exploitation
https://unit42.paloaltonetworks.com/network-attack-trends-winter-2020/vulncheckVulncheck Reported Exploitation
https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%3Envd

Products

ProductAffectedPlatform boundSourcesUrl
apache:unomi>= 1.5.0, < 1.5.2nonvd/v1/products/apache/unomi

Projects

RepositoryLink kindsIndexedUrl
apache/unomiproductyes/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

Nuclei template