CVE-2025-50979: NodeBB SQL Injection Vulnerability in Search Categories API

nodebb Updated 14 Dec 2025

Summary

27/08/2025
No i
High
8.7

CVE-2025-50979: NodeBB SQL Injection vulnerability. Affects nodebb versions < 4.3.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

NodeBB is an open-source forum software built on Node.js, designed to facilitate online discussions and community engagement. It offers features such as real-time notifications, customizable themes, and a plugin system for extended functionality. However, NodeBB versions up to 4.3.0 are vulnerable to a SQL injection flaw that can compromise the security of the application.

Vulnerability Detail

NodeBB v4.3.0 contains a SQL injection vulnerability in its search-categories API endpoint (/api/v3/search/categories). The issue arises from the lack of proper sanitization of the search query parameter, which allows unauthenticated remote attackers to execute boolean-based blind and PostgreSQL error-based payloads. This vulnerability can lead to unauthorized data access, manipulation, or even complete system compromise.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can restrict access to the vulnerable API endpoint by implementing authentication checks or by disabling the search functionality until the package is updated.

Conclusion

The SQL injection vulnerability in NodeBB v4.3.0 poses a significant security risk to applications using this forum software. It is crucial to update to the latest version to mitigate this risk and protect sensitive data from potential attacks.

See every vulnerability recorded for nodebb →

Share this vulnerability

FAQ

The vulnerability is a SQL injection flaw that allows attackers to manipulate database queries through unsanitized input.

Any application using NodeBB version 4.3.0 or earlier is at risk of this SQL injection vulnerability.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing the package-lock.json file. Visit Vulert Scanner to check your application without needing to sign up.

If exploited, attackers could gain unauthorized access to sensitive data, manipulate database contents, or compromise the entire application.

Yes, updating NodeBB to the latest version will resolve this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for nodebb.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback