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.)
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.18 | nomad | 0.9.6-r0 | — |
| Alpine v3.17 | nomad | 0.9.6-r0 | — |
| Alpine v3.16 | nomad | 0.9.6-r0 | — |
| Alpine v3.15 | nomad | 0.9.6-r0 | — |
| Alpine v3.14 | nomad | 0.9.6-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.13 | nomad | 0.9.6-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | ca.uhn.hapi.fhir:hapi-fhir-base | < 3.8.0 | 3.8.0 | GHSA-52mh-p2m2-w625 |