MEDIUM

CVE-2026-47376

2026-06-23 CVSS v4.0
CVSS
5.1

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.

Weakness (CWE)

CWE-79 Cross-site Scripting (XSS)

EPSS Score

0.44%
Probability of exploitation in next 30 days
38th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE