MODERATE 6.1

CVE-2019-12741

Cross-site Scripting in HAPI FHIR

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.)

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
ca.uhn.hapi.fhir » hapi-fhir-base
< 3.8.0
3.8.0

Blast radius

1affected artifacts
31affected versions
273dependent artifacts (est.)
4,729dependent versions

46% of the dependent artifacts (126) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,545
2 hops
1,838
3 hops
879
4 hops
409
5 hops
48
6 hops
10

Most used dependents

Computed from the dependency graph of build 20261129.0021 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.