CVE-2025-27506
MEDIUM 6.1CVSS 3.1NocoDB Vulnerable to Reflected Cross-Site Scripting on Reset Password Page
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.
- Published
- 6 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-wf6c-hrhf-86cw
- Sources
- NVDJSONOSV GHSA-wf6c-hrhf-86cwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nocodb | nocodbcpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:* |
< 0.258.0 | 0.258.0 |
| OSV | npm | nocodb | < 0.258.0 | 0.258.0 |
References
- https://github.com/nocodb/nocodb/blob/ba5a191b33259d984fc92df225f7d82ede2ddb56/packages/nocodb/src/modules/auth/auth.controller.ts#L251 · Product, WEB
- https://github.com/nocodb/nocodb/blob/ba5a191b33259d984fc92df225f7d82ede2ddb56/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts#L71 · Product, WEB
- https://github.com/nocodb/nocodb/commit/ea821edb133e621e26183ae65c8ff9ee5d6f2723 · Patch, WEB
- https://github.com/nocodb/nocodb/security/advisories/GHSA-wf6c-hrhf-86cw · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27506 · ADVISORY
- https://github.com/nocodb/nocodb · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Mar 2025)