CVE-2025-50979 NodeBB SQL Injection vulnerability

High 8.6 Published Updated

Unauthenticated attackers can inject SQL into the search-categories API to read database contents via blind or error-based techniques.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-50979?

CVE-2025-50979 is a high-severity SQL injection vulnerability in n/a, published on 27 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-89

Which versions are affected by CVE-2025-50979?

2 open source packages ship an affected version, including nodebb. It affects 1 product.

PackageAffectedFixed in
nodebb npmAll versions to 4.3.0None
nodebb npmAll versions to 4.3.0None

Products include Nodebb Nodebb.

How do I fix CVE-2025-50979?

No fix has been published for CVE-2025-50979 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-50979 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50979 exists.

Sources

Also known as GHSA-rfh2-8vxq-jqr8.

Is CVE-2025-50979 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free