CVE-2025-27506
NocoDB Vulnerable to Reflected Cross-Site Scripting on Reset Password Page
Record summary
CVE-2025-27506 has a selected CVSS score of 5.4 (medium); EIP currently links 1 Nuclei template.
Description
NocoDB is software for building databases as spreadsheets. The API endpoint related to the password reset function is vulnerable to Reflected Cross-Site-Scripting. The endpoint /api/v1/db/auth/password/reset/:tokenId is vulnerable to Reflected Cross-Site-Scripting. The flaw occurs due to implementation of the client-side template engine ejs, specifically on file resetPassword.ts where the template is using the insecure function “<%-“, which is rendered by the function renderPasswordReset. This vulnerability is fixed in 0.258.0.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Mar 6, 2025 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
nocodbBrowse nocodb / nocodb | CVE List | < 0.258.0 | affected |
nocodbBrowse npm / nocodb | GitHub Advisory | Before 0.258.0 · Fixed in 0.258.0 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMNocoDB < 0.258.0 - Reflected XSS in Password ResetCVSS 5.4
NocoDB versions before 0.258.0 contain a reflected cross-site scripting caused by insecure use of '\u003C%-' in resetPassword.ts, letting attackers execute malicious scripts in victims' browsers, exploit requires sending crafted requests to /api/v1/db/auth/password/reset/:tokenId.
Impact
Attackers can execute malicious scripts in victims' browsers, potentially stealing cookies, session tokens, or performing actions on behalf of users.
Remediation
Update to version 0.258.0 or later.
Source: ProjectDiscovery