CVE-2026-47376
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.
Summary dbcve.org
NocoDB prior to 2026.04.1 has a stored XSS in the password-reset page where the reset token is rendered into a JavaScript string literal in a server-side EJS template. The `<%= %>` escaping only handles HTML entities but does not escape single quotes or backslashes, allowing attackers to break out of the JS string context and inject arbitrary JavaScript via a crafted token in a malicious password-reset link.
Mitigation
Upgrade to NocoDB version 2026.04.1 or later. Until then, users should not click on untrusted password-reset links.