{"id":"CVE-2023-23926","published":"2023-02-16T00:00:00Z","modified":"2025-03-10T21:10:51Z","title":"APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j","vendor":"neo4j","product":"apoc","tier":"tail","description":{"text":"APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j. An XML External Entity (XXE) vulnerability found in the apoc.import.graphml procedure of APOC core plugin prior to version 5.5.0 and 4.4.0.14 (4.4 branch) in Neo4j graph database. XML External Entity (XXE) injection occurs when the XML parser allows external entities to be resolved. The XML parser used by the apoc.import.graphml procedure was not configured in a secure way and therefore allowed this. External entities can be used to read local files, send HTTP requests, and perform denial-of-service attacks on the application. Abusing the XXE vulnerability enabled assessors to read local files remotely. Although with the level of privileges assessors had this was limited to one-line files. With the ability to write to the database, any file could have been read. Additionally, assessors noted, with local testing, the server could be crashed by passing in improperly formatted XML. The minimum version containing a patch for this vulnerability is 5.5.0. Those who cannot upgrade the library can control the allowlist of the procedures that can be used in your system.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00889,"percentile":0.60206,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/neo4j/apoc/security/advisories/GHSA-6wxg-wh7f-rqpr","tags":[]},{"url":"https://github.com/neo4j/apoc/pull/310","tags":[]},{"url":"https://github.com/neo4j/apoc/releases/tag/5.5.0","tags":[]},{"url":"https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_dbms.security.procedures.allowlist","tags":[]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":12.04},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"neo4j","affectedVersions":[{"vendor":"neo4j","product":"apoc","versions":["< 4.4.0.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:57:33.486411Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.neo4j.procedure:apoc-core","vulnerableRanges":[">=5.0.0, <5.5.0","<4.4.0.14"],"patched":["5.5.0","4.4.0.14"],"from":["GHSA-6wxg-wh7f-rqpr"],"provenance":"source"}],"summary":{"text":"The apoc.import.graphml procedure in the APOC core plugin for Neo4j, in versions before 5.5.0 and 4.4.0.14 on the 4.4 branch, has an XML External Entity (XXE) flaw because its XML parser is not configured securely and resolves external entities. An attacker with network access and low-privilege authenticated access, under high attack complexity, can use crafted XML to read local files on the server (with the ability to write to the database, any file could be read) or crash the server with malformed XML.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:12Z"},"euvd":{"id":"EUVD-2023-0647","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/neo4j/apoc/security/advisories/GHSA-6wxg-wh7f-rqpr","https://github.com/neo4j/apoc/pull/310","https://github.com/neo4j/apoc/releases/tag/5.5.0","https://github.com/neo4j/apoc/commit/f175f1f1f663d29fc151c297b56d154255eb7016","https://github.com/neo4j/apoc"]}