NocoDB: Reflected Cross-Site Scripting via Password Reset Token
nocodb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nocodb npm |
|
|
Original description
NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, the password-reset page rendered the URL token directly into a JavaScript string literal in a server-rendered EJS template. EJS <%= %> HTML-entity-encodes a fixed set of characters but does not escape single quotes or backslashes, so a crafted token could break out of the JS string context and execute attacker-controlled script in the NocoDB origin. Triggering required only that a victim follow a malicious password-reset link. This vulnerability is fixed in 2026.04.1.
From the CVE record · GitHub_M