CVE-2025-27506

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:*

History

26 Aug 2025, 18:52

Type Values Removed Values Added
First Time Nocodb
Nocodb nocodb
CPE cpe:2.3:a:xgenecloud:nocodb:*:*:*:*:*:*:*:* cpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:*

25 Aug 2025, 01:23

Type Values Removed Values Added
First Time Xgenecloud nocodb
Xgenecloud
Summary
  • (es) NocoDB es un software para crear bases de datos como hojas de cálculo. El endpoint de la API relacionado con la función de restablecimiento de contraseña es vulnerable a Cross-Site-Scripting Reflejado. El endpoint /api/v1/db/auth/password/reset/:tokenId es vulnerable a Cross-Site-Scripting Reflejado. La falla ocurre debido a la implementación del motor de plantilla del lado del cliente ejs, específicamente en el archivo resetPassword.ts donde la plantilla usa la función insegura “&lt;%-“, que es representada por la función renderPasswordReset. Esta vulnerabilidad se corrigió en 0.258.0.
References () https://github.com/nocodb/nocodb/blob/ba5a191b33259d984fc92df225f7d82ede2ddb56/packages/nocodb/src/modules/auth/auth.controller.ts#L251 - () https://github.com/nocodb/nocodb/blob/ba5a191b33259d984fc92df225f7d82ede2ddb56/packages/nocodb/src/modules/auth/auth.controller.ts#L251 - Product
References () https://github.com/nocodb/nocodb/blob/ba5a191b33259d984fc92df225f7d82ede2ddb56/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts#L71 - () https://github.com/nocodb/nocodb/blob/ba5a191b33259d984fc92df225f7d82ede2ddb56/packages/nocodb/src/modules/auth/ui/auth/resetPassword.ts#L71 - Product
References () https://github.com/nocodb/nocodb/commit/ea821edb133e621e26183ae65c8ff9ee5d6f2723 - () https://github.com/nocodb/nocodb/commit/ea821edb133e621e26183ae65c8ff9ee5d6f2723 - Patch
References () https://github.com/nocodb/nocodb/security/advisories/GHSA-wf6c-hrhf-86cw - () https://github.com/nocodb/nocodb/security/advisories/GHSA-wf6c-hrhf-86cw - Exploit, Vendor Advisory
CPE cpe:2.3:a:xgenecloud:nocodb:*:*:*:*:*:*:*:*

06 Mar 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-06 19:15

Updated : 2025-08-26 18:52


NVD link : CVE-2025-27506

Mitre link : CVE-2025-27506

CVE.ORG link : CVE-2025-27506


JSON object : View

Products Affected

nocodb

  • nocodb
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')