CVE-2019-12741 json
Cross-site Scripting in HAPI FHIR
published 2019-06-05 7 y ago modified 2026-06-17 4 mo ago also GHSA-52mh-p2m2-w625 , EUVD-2019-0503
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- maven ca.uhn.hapi.fhir:hapi-fhir-base 3.8.0
- fhir hapi_fhir 3.8.0
- nomad Alpine 3.18, Alpine 3.17, Alpine 3.16 +3 more 0.9.6-r0
alpine advisories ALPINE-CVE-2019-12741
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | ca.uhn.hapi.fhir:hapi-fhir-base | <3.8.0 |
3.8.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/jamesagnew/hapi-fhir/commit/8f41159eb147eeb964cad68b28eff97acac6ea9a
web, patch, third-party-advisory
-
github.com
/jamesagnew/hapi-fhir/issues/1335
web, patch, third-party-advisory
-
github.com
/jamesagnew/hapi-fhir/releases/tag/v3.8.0
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-12741
advisory
Sources
- CVE List CVE-2019-12741
- GitHub Advisory GHSA-52mh-p2m2-w625
- NVD CVE-2019-12741
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.