---
id: "CVE-2026-126286"
page: "https://infrastack.ai/live/CVE-2026-126286"
kind: "vulnerability"
aliases: ["CVE-2026-126286"]
title: "NocoDB: crafted link runs script and steals session tokens"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "NocoDB", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"via": "cpe", "name": "nocodb", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm", "vendor"]
tags: ["nocodb", "other", "self-hosted"]
not_affected_if: ["version-2026.08.0-or-later"]
published_at: "2026-11-13T10:17:32+00:00"
first_seen_at: "2026-11-13T10:47:13+00:00"
updated_at: "2026-11-13T11:20:09+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126286", "first_seen_at": "2026-11-13T10:47:13+00:00"}]
exploit_sources: []
---

# NocoDB: crafted link runs script and steals session tokens

Link for people: https://infrastack.ai/live/CVE-2026-126286 (this .md is for agents)

NocoDB before 2026.08.0 has a reflected cross-site scripting flaw in its page-leaving warning component, where a control character in the redirect URL scheme bypasses the scheme check. An attacker who gets a user to open a crafted link can run script in the browser and read the session token from localStorage to take over the account.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:NocoDB affected range not listed fixed no fixed version listed
- npm:nocodb affected range not listed fixed no fixed version listed

## How to check

- Check the NocoDB version in use; versions before `2026.08.0` are affected.

## Fix

- Upgrade NocoDB to `2026.08.0` or later.

## Timeline

- 2026-11-13T10:47:13+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126286

## Documents

- [advisory] Vendor advisory: github.com https://github.com/nocodb/nocodb/security/advisories/GHSA-x3wx-294c-4p48
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nocodb-before-2026.08.0-reflected-xss-via-ncredirecturl-in-pageleavingwarning-vue

## From the sources

NocoDB before 2026.08.0 contains a reflected cross-site scripting vulnerability in PageLeavingWarning.vue that allows unauthenticated attackers to execute script by embedding an ASCII control character in the ncRedirectUrl scheme. Attackers can send a crafted link that bypasses the scheme check and reaches the anchor href or window.location, stealing the session token from localStorage for account takeover.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
