GHSA-52mh-p2m2-w625
Cross-site Scripting in HAPI FHIR
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | ca.uhn.hapi.fhir:hapi-fhir-base | < 3.8.0 | 3.8.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.)
References
External links from the advisory. They lead to third-party sites.