nocodb@0.98.3 vulnerabilities

NocoDB Backend

Direct Vulnerabilities

Known vulnerabilities in the nocodb package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Cross-site Scripting (XSS)

nocodb is a NocoDB

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the replaceUrlsWithLink function. An attacker can execute arbitrary JavaScript code by embedding malicious content within the formula fields that are improperly sanitized before being displayed.

How to fix Cross-site Scripting (XSS)?

Upgrade nocodb to version 0.202.9 or higher.

<0.202.9
  • M
SQL Injection

nocodb is a NocoDB

Affected versions of this package are vulnerable to SQL Injection through the columnList method. An attacker with create access can execute arbitrary SQL commands and potentially access or modify sensitive data by including a special character (') in the table name to manipulate the SQL query.

How to fix SQL Injection?

Upgrade nocodb to version 0.202.10 or higher.

<0.202.10
  • M
SQL Injection

nocodb is a NocoDB

Affected versions of this package are vulnerable to SQL Injection via the triggerList function in SqliteClient.ts. An attacker can inject arbitrary SQL queries to be executed by supplying a specially crafted payload to the table_name parameter in the tableCreate endpoint. The attacker can reveal the data present in the database by using time-based payloads which would include a function to delay execution for a given number of seconds. The response time indicates whether the result of the query execution was true or false.

Note:

This is only exploitable if the attacker has creator permissions.

How to fix SQL Injection?

Upgrade nocodb to version 0.111.0 or higher.

<0.111.0
  • H
Directory Traversal

nocodb is a NocoDB

Affected versions of this package are vulnerable to Directory Traversal allowing an unauthenticated attacker to access arbitrary files on the server by manipulating the path parameter of the /download route. This vulnerability could allow an attacker to access sensitive files and data on the server, including configuration files, source code, and other sensitive information.

How to fix Directory Traversal?

Upgrade nocodb to version 0.109.6 or higher.

<0.109.6