Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-13942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:13 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-13942
Complete source record
{
"id": "94ae4bdc58ca31d1e2bcfb3098c9806982deca4fae3533a71300b8082a4c609b",
"url": "https://osv.dev/vulnerability/CVE-2020-13942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-13942",
"summary": "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.",
"evidence": "osv:CVE-2020-13942",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-13942",
"aliases": [
"CVE-2020-13942",
"GHSA-xp5j-wj4h-2jq9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/unomi",
"type": "GIT",
"events": [
{
"introduced": "206b646eb5cfa1e341ca7170705721de9b5b9716"
},
{
"fixed": "3a812b9b6a35c558f5a5417163e774f10094bdd9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:unomi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0"
},
{
"fixed": "1.5.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"unomi-root-1.5.1",
"unomi-root-1.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13942.json"
}
}
],
"modified": "2026-10-24T10:30:50.427014210Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%3E",
"https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cdev.unomi.apache.org%3E",
"https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cusers.unomi.apache.org%3E",
"https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460%40%3Ccommits.unomi.apache.org%3E",
"https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cdev.unomi.apache.org%3E",
"https://lists.apache.org/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cusers.unomi.apache.org%3E",
"https://advisory.checkmarx.net/advisory/CX-2020-4284"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-13942",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437243,
"published_at": "2020-11-24T18:15:11.91+00:00"
}