{"id":"CVE-2020-12642","aliases":["CVE-2020-12642","GHSA-2jx8-v4hv-gx3h"],"related":[],"kind":"vulnerability","state":"published","title":"XXE vulnerability in Launch import","summary":"An issue was discovered in service-api before 4.3.12 and 5.x before 5.1.1 for Report Portal. It allows XXE, with resultant secrets disclosure and SSRF, via JUnit XML launch import.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in service-api before 4.3.12 and 5.x before 5.1.1 for Report Portal. It allows XXE, with resultant secrets disclosure and SSRF, via JUnit XML launch import.","source":"cvelist"},{"lang":"en","text":"| Release Date | Affected Projects | Affected Versions | Access Vector| Security Risk |\n|--------------|-------------------|-------------------|---------------|---------------|\n| Monday, May 4, 2020| [service-api](https://github.com/reportportal/service-api) | Every version, starting from 3.1.0 | Remote | Medium |\n\n### Impact\nStarting from version 3.1.0 we introduced a new feature of JUnit XML launch import. Unfortunately XML parser was not configured properly to prevent XML external entity (XXE) attacks. This allows a user to import a specifically-crafted XML file that uses external entities for extraction of secrets from Report Portal service-api module or server-side request forgery.\n\nReport Portal versions 4.3.12+ and 5.1.1+ disables external entity resolution for theirs XML parser.\n\nWe advise our users install the latest releases we built specifically to address this issue.\n\n### Patches\nFixed with https://github.com/reportportal/service-api/pull/1201\n\n### Binary Download\nhttps://bintray.com/epam/reportportal/service-api/5.1.1\nhttps://bintray.com/epam/reportportal/service-api/4.3.12\n\n### Docker Container Download\n* RP v4: `docker pull reportportal/service-api:4.3.12`\n* RP v5: `docker pull reportportal/service-api:5.1.1`\n\n### Acknowledgement\nThe issue was reported to Report Portal Team by an external security researcher.\nOur Team thanks Julien M. for reporting the issue.\n\n### For more information\nIf you have any questions or comments about this advisory email us: [support@reportportal.io](mailto:support@reportportal.io)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió  un problema en service-api versiones anteriores a la versión  4.3.12 y versiones 5.x anteriores a la versión  5.1.1 para el Report Portal. Permite un ataque de tipo XXE, con una revelación de secretos y SSRF resultantes, por medio de la importación de inicio de JUnit XML.","source":"nvd"}],"published":"2020-05-04T15:14:14.000Z","modified":"2026-06-17T02:52:03.520Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"4.3.12"}],"ecosystem":"Maven","package":"com.epam.reportportal:service-api","purl":"pkg:maven/com.epam.reportportal/service-api","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.1.1"}],"ecosystem":"Maven","package":"com.epam.reportportal:service-api","purl":"pkg:maven/com.epam.reportportal/service-api","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.1.0","fixed":"4.3.12"},{"status":"affected","introduced":"5.0.0","fixed":"5.1.1"}],"vendor":"reportportal","product":"service-api","cpe":"cpe:2.3:a:reportportal:service-api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/reportportal/reportportal/blob/master/SECURITY_ADVISORIES.md","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/reportportal/reportportal/security/advisories/GHSA-2jx8-v4hv-gx3h","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12642","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/reportportal/service-api/pull/1201","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/reportportal/service-api/commit/da4a012abdcc69f02f4255d81466f1f473b7f418","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/reportportal/reportportal","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-12642","url":"https://www.cve.org/CVERecord?id=CVE-2020-12642","licence":"CVE Terms of Use","modified":"2024-08-04T12:04:22.528Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2jx8-v4hv-gx3h","url":"https://github.com/advisories/GHSA-2jx8-v4hv-gx3h","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:10.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-12642","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12642","licence":"Public domain","modified":"2026-06-17T02:52:03.520Z"}],"updatedAt":"2026-11-25T22:57:52.278Z","epss":{"score":0.01383,"percentile":0.72974,"date":"2026-12-01T12:00:22.000Z"}}