CVE-2019-12741
MEDIUM 6.1CVSS 3.0Cross-site Scripting in HAPI FHIR
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.)
- Published
- 5 Jun 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-52mh-p2m2-w625
- Sources
- NVDJSONOSV GHSA-52mh-p2m2-w625JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fhir | hapi_fhircpe:2.3:a:fhir:hapi_fhir:*:*:*:*:*:*:*:* |
< 3.8.0 | 3.8.0 |
| OSV | Maven | ca.uhn.hapi.fhir:hapi-fhir-base | < 3.8.0 | 3.8.0 |
References
- https://github.com/jamesagnew/hapi-fhir/commit/8f41159eb147eeb964cad68b28eff97acac6ea9a · Patch, Third Party Advisory, WEB
- https://github.com/jamesagnew/hapi-fhir/issues/1335 · Patch, Third Party Advisory, WEB
- https://github.com/jamesagnew/hapi-fhir/releases/tag/v3.8.0 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-12741 · ADVISORY
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 5 Jun 2019)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Jun 2019)