{"id":"GHSA-52mh-p2m2-w625","summary":"Cross-site Scripting in HAPI FHIR","details":"XSS exists in the HAPI FHIR testpage overlay module of the HAPI FHIR library before 3.8.0. The attack involves unsanitized HTTP parameters being output in a form page, allowing attackers to leak cookies and other sensitive information from ca/uhn/fhir/to/BaseController.java via a specially crafted URL. (This module is not generally used in production systems so the attack surface is expected to be low, but affected systems are recommended to upgrade immediately.)","aliases":["CVE-2019-12741"],"modified":"2023-11-08T04:01:06.066835Z","published":"2019-06-07T20:56:59Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-06-07T14:35:54Z","nvd_published_at":"2019-06-05T15:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12741"},{"type":"WEB","url":"https://github.com/jamesagnew/hapi-fhir/issues/1335"},{"type":"WEB","url":"https://github.com/jamesagnew/hapi-fhir/commit/8f41159eb147eeb964cad68b28eff97acac6ea9a"},{"type":"WEB","url":"https://github.com/jamesagnew/hapi-fhir/releases/tag/v3.8.0"}],"affected":[{"package":{"name":"ca.uhn.hapi.fhir:hapi-fhir-base","ecosystem":"Maven","purl":"pkg:maven/ca.uhn.hapi.fhir/hapi-fhir-base"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.0"}]}],"versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1.0","1.1","1.2","1.3","1.4","1.5","1.6","2.0","2.1","2.2","2.3","2.4","2.5","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-52mh-p2m2-w625/GHSA-52mh-p2m2-w625.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}