CVE-2024-46984
XML External Entity Reference (XXE) vulnerability can lead to a Server Side Request Forgery attack in gematik app-referencevalidator
Also known as GHSA-68j8-fp38-p48q
Mitigation
- Upgrade de.gematik.refv.commons:commons to 2.5.1 or later.
Who should check
- Projects that depend on Maven package de.gematik.refv.commons:commons (< 2.5.1)
- Anyone running gematik app-referencevalidator < 2.5.1
Vulnerability facts
- Affected
- de.gematik.refv.commons:commons < 2.5.1
- Fixed in
- 2.5.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.10% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-611
- Modified
Description
The reference validator is a tool to perform advanced validation of FHIR resources for TI applications and interoperability standards. The profile location routine in the referencevalidator commons package is vulnerable to `XML External Entities` attack due to insecure defaults of the used Woodstox WstxInputFactory. A malicious XML resource can lead to network requests issued by referencevalidator and thus to a `Server Side Request Forgery` attack. The vulnerability impacts applications which use referencevalidator to process XML resources from untrusted sources. The problem has been patched with the 2.5.1 version of the referencevalidator. Users are strongly recommended to update to this version or a more recent one. A pre-processing or manual analysis of input XML resources on existence of DTD definitions or external entities can mitigate the problem.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven de.gematik.refv.commons:commons | < 2.5.1 | 2.5.1 | osv |
| gematik app-referencevalidator | < 2.5.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-46984. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-46984.md Affected: de.gematik.refv.commons:commons < 2.5.1 Fixed in: 2.5.1 Steps: 1. Search this machine and project for de.gematik.refv.commons:commons (Maven), gematik app-referencevalidator: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory
- https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1
- https://owasp.org/www-community/attacks/Server_Side_Request_Forgery
- https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)
- https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)#
- https://github.com/gematik/app-referencevalidator
FAQ
Is CVE-2024-46984 being exploited?
There is no confirmed exploitation: CVE-2024-46984 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.10% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-46984?
High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-46984?
de.gematik.refv.commons:commons < 2.5.1.
Is there a fix for CVE-2024-46984?
Yes. Fixed in 2.5.1. Upgrade de.gematik.refv.commons:commons to 2.5.1 or later.
How do I check if I'm affected by CVE-2024-46984?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.