Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-46984
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 01:37 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 19 Sept 2024, 22:38 UTC

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.

osv:CVE-2024-46984
Complete source record
{
  "id": "37c90ccb1f59d81b0e03eb1f9ac39bdaf211dc58e1afef08a4be8395c1e27477",
  "url": "https://osv.dev/vulnerability/CVE-2024-46984",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "XML External Entity Reference (XXE) vulnerability can lead to a Server Side Request Forgery attack in gematik app-referencevalidator",
    "summary": "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.",
    "evidence": "osv:CVE-2024-46984",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-46984",
      "aliases": [
        "CVE-2024-46984",
        "GHSA-68j8-fp38-p48q"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gematik/app-referencevalidator",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "69d361f4ea2e348aba2fd163746ba72f39fcb0d5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "69d361f4ea2e348aba2fd163746ba72f39fcb0d5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.5.1"
                  },
                  {
                    "cpe": "cpe:2.3:a:gematik:reference_validator:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5.0",
            "2.4.0",
            "2.3.0",
            "2.2.0",
            "2.1.1",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46984.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.413767601Z",
      "provider": "osv",
      "references": [
        "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/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46984.json",
        "https://github.com/gematik/app-referencevalidator/security/advisories/GHSA-68j8-fp38-p48q",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46984"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-611"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46984.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46984",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499463,
  "published_at": "2024-09-19T22:38:21.169+00:00"
}