Medium, CVSS 6.1MavenPublished
Cross-site Scripting in HAPI FHIR
CVE-2019-12741 · GHSA-52mh-p2m2-w625
- Affected
- Maven ca.uhn.hapi.fhir:hapi-fhir-base < 3.8.0
- Fixed in
- 3.8.0· Vendor fix available
- Issue
- 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.)
Recommended action: Upgrade to 3.8.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.