SQL Injection Affecting @nocobase/plugin-collection-sql package, versions <2.0.39


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.1% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NOCOBASEPLUGINCOLLECTIONSQL-16416973
  • published4 May 2026
  • disclosed22 Apr 2026
  • creditp80n-sec

Introduced: 22 Apr 2026

NewCVE-2026-41641  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade @nocobase/plugin-collection-sql to version 2.0.39 or higher.

Overview

@nocobase/plugin-collection-sql is a Provides SQL collection template

Affected versions of this package are vulnerable to SQL Injection through the update handler in the collection SQL resource. An attacker can submit a malicious sql value while updating a SQL-backed collection and have it accepted without validation. This lets the attacker store dangerous SQL in the collection definition, putting the application at risk of unauthorized database access and exposure of sensitive data when the collection is later used.

CVSS Base Scores

version 4.0
version 3.1