Vulnerability · Published Mar 6, 2025 · Assigned by GitHub_M

CVE-2025-27506NocoDB Vulnerable to Reflected Cross-Site Scripting on Reset Password Page

Medium 5.4

In plain English

A medium-severity cross-site scripting in nocodb from nocodb. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.7%top 46.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Nuclei

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnocodb0.258.0GHSA-wf6c-hrhf-86cw

Affected products (as reported)

VendorProductVersions
nocodb nocodb < 0.258.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

References