Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nodebb
  4. ›
  5. CVE-2025-50979

CVE-2025-50979: NodeBB SQL Injection vulnerability

August 27, 2025 (updated November 10, 2025)

NodeBB v4.3.0 is vulnerable to SQL injection in its search-categories API endpoint (/api/v3/search/categories). The search query parameter is not properly sanitized, allowing unauthenticated, remote attackers to inject boolean-based blind and PostgreSQL error-based payloads.

References

  • github.com/4rdr/proofs/blob/main/info/NodeBB-v4.3.0.-SQL-Injection-via-search-parameter.md
  • github.com/NodeBB/NodeBB
  • github.com/advisories/GHSA-rfh2-8vxq-jqr8
  • nvd.nist.gov/vuln/detail/CVE-2025-50979

Code Behaviors & Features

Detect and mitigate CVE-2025-50979 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 4.3.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/nodebb/CVE-2025-50979.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.