{"id":"CVE-2021-29620","aliases":["CVE-2021-29620","GHSA-24wf-7vf2-pv59"],"related":[],"kind":"vulnerability","state":"published","title":"XXE vulnerability on Launch import with externally-defined DTD file","summary":"Report portal is an open source reporting and analysis framework. Starting from version 3.1.0 of the service-api XML parsing was introduced. Unfortunately the XML parser was not configured properly to prevent XML external entity (XXE) attacks. This allows a user to import a specifically-crafted XML file which imports external Document Type Definition (DTD) file with external entities for extraction of secrets from Report Portal service-api module or server-side request forgery. This will be resolved in the 5.4.0 release.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Report portal is an open source reporting and analysis framework. Starting from version 3.1.0 of the service-api XML parsing was introduced. Unfortunately the XML parser was not configured properly to prevent XML external entity (XXE) attacks. This allows a user to import a specifically-crafted XML file which imports external Document Type Definition (DTD) file with external entities for extraction of secrets from Report Portal service-api module or server-side request forgery. This will be resolved in the 5.4.0 release.","source":"cvelist"},{"lang":"en","text":"### 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 which imports external Document Type Definition (DTD) file with external entities for extraction of secrets from Report Portal service-api module or server-side request forgery.\n\n### Patches\nFixed with: https://github.com/reportportal/service-api/pull/1392\n\n### Binaries\n`docker pull reportportal/service-api:5.4.0`\nhttps://github.com/reportportal/service-api/packages/846871?version=5.4.0\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":"Report portal es un marco de informes y análisis de código abierto. A partir de la versión 3.1.0 del service-api se introdujo el análisis de XML. Lamentablemente, el analizador XML no estaba configurado apropiadamente para prevenir los ataques de tipo XML external entity (XXE). Esto permite a un usuario importar un archivo XML específicamente diseñado que importa un archivo de definición de tipo de documento (DTD) con entidades externas para la extracción de secretos del módulo de service-api de Report Portal o fallo de tipo server-side request forgery. Esto será resuelto en la versión 5.4.0","source":"nvd"}],"published":"2021-06-23T17:35:11.000Z","modified":"2026-07-08T06:30:02.971Z","severity":{"scorer":"GitHub_M","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_M","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":"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":">= 3.1.0, < 5.4.0","status":"affected"}],"vendor":"reportportal","product":"reportportal","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"5.4.0"}],"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":"5.4.0"}],"vendor":"reportportal","product":"service-api","cpe":"cpe:2.3:a:reportportal:service-api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/reportportal/reportportal/security/advisories/GHSA-24wf-7vf2-pv59","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/reportportal/service-api/pull/1392","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mvnrepository.com/artifact/com.epam.reportportal/service-api","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29620","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/reportportal/service-api/commit/a73e0dfb4eda844c37139df1f9847013d55f084e","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29620","url":"https://www.cve.org/CVERecord?id=CVE-2021-29620","licence":"CVE Terms of Use","modified":"2024-08-03T22:11:06.340Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-24wf-7vf2-pv59","url":"https://github.com/advisories/GHSA-24wf-7vf2-pv59","licence":"CC-BY-4.0","modified":"2026-07-08T06:30:02.971Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29620","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29620","licence":"Public domain","modified":"2026-06-17T03:48:02.470Z"}],"updatedAt":"2026-11-25T22:58:02.148Z","epss":{"score":0.02227,"percentile":0.83236,"date":"2026-12-01T12:00:22.000Z"}}