{"id":"CVE-2019-12741","aliases":["ALPINE-CVE-2019-12741","EUVD-2019-0503","GHSA-52mh-p2m2-w625"],"status":"published","title":"Cross-site Scripting in HAPI FHIR","description":"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.)","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01268,"percentile":0.7001,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2019-06-05T14:58:44Z","modified":"2026-11-03T06:32:34Z","fixes":[{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:hapi-fhir-base","fixed_in":["3.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.13","package":"nomad","fixed_in":["0.9.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"nomad","fixed_in":["0.9.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"nomad","fixed_in":["0.9.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"nomad","fixed_in":["0.9.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"nomad","fixed_in":["0.9.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"nomad","fixed_in":["0.9.6-r0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"ca.uhn.hapi.fhir:hapi-fhir-base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-r0"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"fhir","product":"hapi_fhir"}],"references":[{"url":"https://github.com/jamesagnew/hapi-fhir/issues/1335","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jamesagnew/hapi-fhir/commit/8f41159eb147eeb964cad68b28eff97acac6ea9a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jamesagnew/hapi-fhir/releases/tag/v3.8.0","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12741","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-52mh-p2m2-w625"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-12741","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2019-12741","description":"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.)","status":"published","published":"2019-06-05T14:58:44Z","modified":"2024-08-04T23:32:55.401Z","updated_at":"2026-11-02T14:20:23.697579Z"}],"euvd":[{"id":"EUVD-2019-0503","description":"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.)","status":"published","published":"2019-06-05T14:58:44Z","modified":"2024-08-04T23:32:55Z","updated_at":"2026-11-03T02:40:44.884887Z"}],"ghsa":[{"id":"GHSA-52mh-p2m2-w625","title":"Cross-site Scripting in HAPI FHIR","description":"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.)","status":"published","published":"2019-06-07T20:56:59Z","modified":"2023-02-01T05:02:17Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:30.61364Z"}],"nvd":[{"id":"CVE-2019-12741","description":"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.)","status":"published","published":"2019-06-05T15:29:01.873Z","modified":"2026-06-17T02:15:21.197Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:05:16.285679Z"}],"osv":[{"id":"ALPINE-CVE-2019-12741","description":"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.)","status":"published","published":"2019-06-05T15:29:01.873Z","modified":"2026-11-03T06:32:34.835266613Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T07:17:20.312441Z"},{"id":"CVE-2019-12741","description":"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.)","status":"published","published":"2019-06-05T15:29:01.873Z","modified":"2026-10-24T14:19:51.841531074Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"GHSA-52mh-p2m2-w625","title":"Cross-site Scripting in HAPI FHIR","description":"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.)","status":"published","published":"2019-06-07T20:56:59Z","modified":"2023-11-08T04:01:06.066835Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:37.864461Z"}]}}
