Reflected Cross-Site Scripting Vulnerability in NocoDB Password Reset Function
CVE-2025-27506
5.4MEDIUM
What is CVE-2025-27506?
NocoDB, a platform that allows users to construct databases as spreadsheets, contains a reflected cross-site scripting vulnerability in its password reset functionality. Specifically, the flaw lies within the API endpoint responsible for handling password resets, located at /api/v1/db/auth/password/reset/:tokenId. The vulnerability arises from the use of an insecure client-side template engine, 'ejs,' particularly within the resetPassword.ts file. This implementation incorrectly utilizes the '<%-' function, which compromises the application’s security by allowing attackers to inject malicious scripts. Users are urged to upgrade to version 0.258.0 to mitigate this risk.
Affected Version(s)
nocodb < 0.258.0