Cross-site Scripting (XSS) Affecting ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay package, versions [,3.8.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-CAUHNHAPIFHIR-174918
  • published5 Jun 2019
  • disclosed5 Jun 2019
  • creditUnknown

Introduced: 5 Jun 2019

CVE-2019-12741  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay to version 3.8.0 or higher.

Overview

ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay is a Java API for HL7 FHIR Clients and Servers.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the testpage overlay module. The attack involves non-sanitised HTTP parameters being output in a form page, allowing malicious users to leak cookies and other sensitive information from ca/uhn/fhir/to/BaseController.java via a specially crafted URL. Note that this module is not generally used in production systems so the attack surface is expected to be low.

Details

CVSS Scores

version 3.1