CVE-2025-50979
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
NodeBB v4.3.0 search-categories API is vulnerable to unauthenticated SQL injection, enabling data extraction via boolean-blind and error-based techniques.
Vulnerability
Overview NodeBB v4.3.0 contains a SQL injection vulnerability in the /api/v3/search/categories API endpoint [1]. The search query parameter is not sanitized before being used in a SQL query, allowing unauthenticated remote attackers to inject malicious SQL payloads [1][3].
Exploitation
Details The endpoint accepts a search parameter that is passed directly to a PostgreSQL database. Attackers can exploit this using boolean-based blind injection or error-based techniques, as demonstrated by sqlmap [3]. The injection relies on the database being PostgreSQL, which NodeBB supports [2]. No authentication is required, and the vulnerability can be triggered via a simple HTTP GET request [3].
Impact
Successful exploitation enables an attacker to extract sensitive information from the database, such as user credentials, configuration data, and other forum content [1][3]. The blind injection approach allows data extraction even without direct output, and error-based methods can reveal information through database error messages [3].
Status
Proof-of-concept exploit code has been published [3], and no patch has been announced at the time of this writing. Users of NodeBB v4.3.0 should monitor for updates or consider implementing mitigations such as input validation or a web application firewall.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nodebbnpm | <= 4.3.0 | — |
Affected products
2- NodeBB/NodeBBdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.