# CVE-2024-46984: XML External Entity Reference (XXE) vulnerability can lead to a Server Side Request Forgery attack in gematik app-referencevalidator

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-09-19T14:49:40.000Z
- Modified: 2026-06-17T07:56:18.917Z
- Also known as: GHSA-68j8-fp38-p48q
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- gematik app-referencevalidator: < 2.5.1; before 2.5.1
- de.gematik.refv.commons:commons (Maven): before 2.5.1
- gematik reference_validator: before 2.5.1

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q> (vendor-advisory, web)
- <https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory> (technical-description, web)
- <https://github.com/gematik/app-referencevalidator/releases/tag/2.5.1> (release-notes, web)
- <https://owasp.org/www-community/attacks/Server_Side_Request_Forgery> (technical-description, web)
- <https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)> (technical-description, web)
- <https://owasp.org/www-project-top-ten/2017/A4_2017-XML_External_Entities_(XXE)#> (technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-46984> (advisory)
- <https://github.com/gematik/app-referencevalidator/commit/d6d27613fab7a8dd08534946f29e0c51f319cad6> (web)
- <https://github.com/gematik/app-referencevalidator> (package)

## Sources

- CVE List: [CVE-2024-46984](https://www.cve.org/CVERecord?id=CVE-2024-46984), CVE Terms of Use, modified 2024-09-20
- GitHub Advisory Database: [GHSA-68j8-fp38-p48q](https://github.com/advisories/GHSA-68j8-fp38-p48q), CC-BY-4.0, modified 2024-09-20
- NVD: [CVE-2024-46984](https://nvd.nist.gov/vuln/detail/CVE-2024-46984), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46984 · Whole record: https://cve.day/CVE-2024-46984.json · Rebuilt by cve.day 2026-11-25T22:58:45.640Z
