---
id: CVE-2026-1337
title: >-
  Insufficient escaping of unicode characters in query log in Neo4j Enterprise
  and Community editions prior to 2026.01 can lead to XSS if the user opens the
  logs in a tool that treats them as HTML
summary: >-
  Insufficient escaping of unicode characters in query log in Neo4j Enterprise
  and Community editions prior to 2026.01 can lead to XSS if the user opens the
  logs in a tool that treats them as HTML. There is no security impact on Neo4j
  prod…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-117
vendor: neo4j
product: neo4j
affected:
  - neo4j < 2026.01.0
patched:
  - neo4j 2026.01.0
published: '2026-02-06'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-1337'
references:
  - url: 'https://github.com/JoakimBulow/CVE-2026-1337'
    label: 3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6
tags:
  - nvd
  - exploit-available
epss: 0.00232
epssPercentile: 0.14346
ingestedAt: '2026-08-28T16:22:14.478Z'
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/JoakimBulow/CVE-2026-1337'
    - >-
      https://github.com/George0Papasotiriou/CVE-2026-1337-AI-Coding-Assistant-Prompt-Injection-to-Sandbox-Escape
  checkedAt: '2026-09-24T07:52:57.706Z'
exploitAvailable: true
---

## Overview

Insufficient escaping of unicode characters in query log in Neo4j Enterprise and Community editions prior to 2026.01 can lead to XSS if the user opens the logs in a tool that treats them as HTML. There is no security impact on Neo4j products, but this advisory is released as a precaution to treat the logs as plain text if using versions prior to 2026.01.

Proof of concept exploit:  https://github.com/JoakimBulow/CVE-2026-1337

## Affected

- `neo4j < 2026.01.0`

## Remediation

Upgrade past the affected range:

- `neo4j 2026.01.0`
