CVE-2020-13942: It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint
CVE-2020-13942 is a critical-severity flaw (CVSS 9.8) affecting unomi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: eugenebmx/CVE-2020-13942 (28 stars)
- GitHub PoC: shifa123/CVE-2020-13942-POC- (8 stars)
- GitHub PoC: lp008/CVE-2020-13942 (6 stars)
- GitHub PoC: Prodrious/CVE-2020-13942
- GitHub PoC: blackmarketer/CVE-2020-13942
- Nuclei scan template: Apache Unomi <1.5.2 - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-13942?
unomi: upgrade to 1.5.2. Exact commands for each OS are on this page.
Is CVE-2020-13942 being exploited?
CVE-2020-13942 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-13942 affect?
CVE-2020-13942 affects unomi. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2020-13942?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2021-31164 HIGH 7.5 UPGRADE Apache Unomi prior to version 1.5.5 allows CRLF log injection because of the lack of escaping in the log state
- CVE-2020-11975 CRITICAL 9.8 UPGRADE Apache Unomi allows conditions to use OGNL scripting which offers the possibility to call static Java classes