CVE-2026-62293: CWE-20: Improper Input Validation in hapifhir org.hl7.fhir.core
HAPI FHIR versions prior to 6.9.11 contain a stored cross-site scripting (XSS) vulnerability in the hidden scan command of Scanner.java. This vulnerability arises from improper input validation where attacker-controlled Implementation Guide titles, profile titles, and source references are concatenated into an HTML report without proper escaping. When a user opens or publishes this generated local or CI HTML report, attacker-controlled JavaScript can execute in the browser context. The issue is fixed in version 6.9.11.
AI Analysis
Technical Summary
The vulnerability in HAPI FHIR's org.hl7.fhir.core component involves improper input validation (CWE-20) leading to stored cross-site scripting (CWE-79). Specifically, in versions before 6.9.11, the hidden scan command concatenates unescaped attacker-controlled data into scan.html, enabling execution of malicious JavaScript when the report is viewed. This flaw is addressed by escaping input in version 6.9.11.
Potential Impact
An attacker who supplies malicious Implementation Guide or profile data can cause stored XSS in the generated scan.html report. This can lead to execution of arbitrary JavaScript in the context of the user viewing the report, potentially compromising user data or session integrity. The CVSS score of 5.0 (medium) reflects limited attack vector (local) and user interaction required.
Mitigation Recommendations
Upgrade to HAPI FHIR version 6.9.11 or later where the vulnerability is fixed by proper escaping of attacker-controlled input in the scan.html report generation. No other mitigation or workaround is indicated.
CVE-2026-62293: CWE-20: Improper Input Validation in hapifhir org.hl7.fhir.core
Description
HAPI FHIR versions prior to 6.9.11 contain a stored cross-site scripting (XSS) vulnerability in the hidden scan command of Scanner.java. This vulnerability arises from improper input validation where attacker-controlled Implementation Guide titles, profile titles, and source references are concatenated into an HTML report without proper escaping. When a user opens or publishes this generated local or CI HTML report, attacker-controlled JavaScript can execute in the browser context. The issue is fixed in version 6.9.11.
CVSS v3.1
Score 5.0medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HAPI FHIR's org.hl7.fhir.core component involves improper input validation (CWE-20) leading to stored cross-site scripting (CWE-79). Specifically, in versions before 6.9.11, the hidden scan command concatenates unescaped attacker-controlled data into scan.html, enabling execution of malicious JavaScript when the report is viewed. This flaw is addressed by escaping input in version 6.9.11.
Potential Impact
An attacker who supplies malicious Implementation Guide or profile data can cause stored XSS in the generated scan.html report. This can lead to execution of arbitrary JavaScript in the context of the user viewing the report, potentially compromising user data or session integrity. The CVSS score of 5.0 (medium) reflects limited attack vector (local) and user interaction required.
Mitigation Recommendations
Upgrade to HAPI FHIR version 6.9.11 or later where the vulnerability is fixed by proper escaping of attacker-controlled input in the scan.html report generation. No other mitigation or workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-13T18:37:08.488Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a76350bbf8831d5390b01af
Added to database: 08/07/2026, 19:42:03 UTC
Last enriched: 08/07/2026, 20:00:07 UTC
Last updated: 08/07/2026, 20:01:08 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.