GHSA-rfh2-8vxq-jqr8

Suggest an improvement
Source
https://github.com/advisories/GHSA-rfh2-8vxq-jqr8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-rfh2-8vxq-jqr8/GHSA-rfh2-8vxq-jqr8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rfh2-8vxq-jqr8
Aliases
Published
2025-08-27T18:31:55Z
Modified
2025-08-27T20:14:31Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
NodeBB SQL Injection vulnerability
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-08-27T19:28:28Z",
    "nvd_published_at":  "2025-08-27T18:15:45Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / nodebb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
4.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-rfh2-8vxq-jqr8/GHSA-rfh2-8vxq-jqr8.json"