CVE-2026-62293 HAPI FHIR: Stored XSS in scan report via unescaped IG and profile titles

Medium 5.0 Published Updated

Attackers can execute arbitrary JavaScript in the browser context of users viewing generated scan reports due to unescaped titles in HAPI FHIR.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-62293?

CVE-2026-62293 is a medium-severity cross-site scripting vulnerability in hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation, published on 7 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.11, the hidden scan command concatenates attacker-controlled Implementation Guide titles, profile titles, and source references into scan.html without escaping in Scanner.java. As a result, a user who scans an attacker-supplied IG/profile and then opens or publishes the generated local/CI HTML report can trigger stored cross-site scripting, executing attacker-controlled JavaScript in the report's browser context. This issue is fixed in version 6.9.11.

Weakness: CWE-79, CWE-20

Which versions are affected by CVE-2026-62293?

How do I fix CVE-2026-62293?

No fix has been published for CVE-2026-62293 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-62293 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-62293 exists.

Sources

Also known as GHSA-6vcw-fq7v-4vhw.

Is CVE-2026-62293 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free