Skip to content

← Public intelligence

npm package

nodebb

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

12 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.6npmAmendedPublished

    NodeBB Cross-site scripting (XSS) vulnerability

    CVE-2024-57041 · GHSA-vqr3-vrrg-f3jh

    Affected
    • npm nodebb < 3.11.1
    Fixed in
    3.11.1· Vendor fix available
    Issue
    A persistent cross-site scripting (XSS) vulnerability in NodeBB v3.11.0 allows remote attackers to store arbitrary code in the 'about me' section of their profile.

    Recommended action: Upgrade to 3.11.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Medium, CVSS 6.3npmAmendedPublished

    Incorrect Access Control in NodeBB

    CVE-2024-29316 · GHSA-qc99-r4wh-c8h6

    Affected
    • npm nodebb < 3.6.7
    Fixed in
    3.6.7· Vendor fix available
    Issue
    In NodeBB prior to 3.6.7 an attacker was able to access the restricted tabs for the Admin group which are only allowed the the administrators.

    Recommended action: Upgrade to 3.6.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 4.7npmAmendedPublished

    Unintentional leakage of private information via cross-origin websocket session hijacking

    CVE-2023-2850 · GHSA-4qcv-qf38-5j3j

    Affected
    • npm nodebb >= 3.0.0, < 3.1.3; < 2.8.13
    Fixed in
    2.8.133.1.3· Vendor fix available
    Issue
    Impact Private messages or posts might be leaked to third parties if victim opens the attackers site while browsing nodebb. Patches Patched in v3.1.3 Backported to v2.x line via v2.8.13 Workarounds Users can cherry-pick https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359 if they are on v3.x If you are running v2.x of NodeBB, you can cherry-pick a5d92da9ddac5607ab7f737520a66eaed6d3ddee followed by 62e162cf1e735e42462be1db9b4954b5a69accdf

    Recommended action: Upgrade to 3.1.3 or 2.8.13 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Critical, CVSS 10.0npmAmendedPublished

    Path traversal and code execution via prototype vulnerability

    CVE-2023-26045 · GHSA-vh2g-6c4x-5hmp

    Affected
    • npm nodebb >= 2.5.0, < 2.8.7
    Fixed in
    2.8.7· Vendor fix available
    Issue
    Impact Due to the use of the object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability, a specially crafted payload could invoke the user export logic to arbitrarily execute javascript files on the local disk. Patches Patched in v2.8.7 Workarounds Site maintainers can cherry pick ec58700f6dff8e5b4af1544f6205ec362b593092 into their codebase to patch the exploit.

    Recommended action: Upgrade to 2.8.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Critical, CVSS 9.4npmAmendedPublished

    NodeBB vulnerable to account takeover via prototype vulnerability

    CVE-2022-46164 · GHSA-rf3g-v8p5-p675

    Affected
    • npm nodebb < 2.6.1
    Fixed in
    2.6.1· Vendor fix available
    Issue
    Impact Due to a plain object with a prototype being used in socket.io message handling a specially crafted payload can be used to impersonate other users and takeover accounts. Patches Patched in 2.6.1 Workarounds Site maintainers can cherry-pick https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8 into their codebase to patch the exploit. For more information If you have any questions or comments about this advisory: Discuss it on our community forum Email us at support@nodebb.org

    Recommended action: Upgrade to 2.6.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 4.3npmAmendedPublished

    NodeBB vulnerable to Cross-Site Request Forgery

    CVE-2022-3978 · GHSA-5gwx-wf9g-r5mx

    Affected
    • npm nodebb < 2.5.8
    Fixed in
    2.5.8· Vendor fix available
    Issue
    A vulnerability was found in NodeBB up to 2.5.7. This affects an unknown part of the file /register/abort. The manipulation leads to cross-site request forgery. It is possible to initiate the attack remotely. Upgrading to version 2.5.8 is able to address this issue. The name of the patch is 2f9d8c350e54543f608d3d4c8e1a49bbb6cdea38. It is recommended to upgrade the affected component.

    Recommended action: Upgrade to 2.5.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. High, CVSS 7.5npmAmendedPublished

    NodeBB account takeover via SSO plugins

    CVE-2022-36076 · GHSA-xmgg-fx9p-prq6

    Affected
    • npm nodebb <= 1.17.1
    Fixed in
    1.17.2· Vendor fix available
    Issue
    This is a historical security advisory, pertaining to a vulnerability that was reported, patched, and published in 2021. It is listed here for completeness and for CVE tracking purposes. Impact Due to an unnecessarily strict conditional in the code handling the first step of the SSO process, the pre-existing logic that added (and later checked) a nonce was inadvertently rendered opt-in instead of opt-out. This re-exposed a vulnerability in that a specially crafted MITM attack could theoretically take over another user account during the single sign-on process. Patches The issue has been fully patched as of v1.17.2. The patch commit can be found at https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4 Workarounds Site maintainers can cherry-pick https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4 into their codebase to patch the exploit. References https://blogs.opera.com/security/2022/03/bug-bounty-adventures-a-nodebb-0-day/ For…

    Recommended action: Upgrade to 1.17.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Critical, CVSS 9.8npmAmendedPublished

    Cryptographically weak PRNG in utils.generateUUID

    CVE-2022-36045 · GHSA-p4cc-w597-6cpm

    Affected
    • npm nodebb < 1.19.8; >= 2.0.0, <= 2.0.0
    Fixed in
    2.0.11.19.8· Vendor fix available
    Issue
    In Brief utils.generateUUID, a helper function available in essentially all versions of NodeBB (as far back as v1.0.1 and potentially earlier) used a cryptographically insecure Pseudo-random number generator (Math.random()), which meant that a specially crafted script combined with multiple invocations of the password reset functionality could enable an attacker to correctly calculate the reset code for an account they do not have access to. Impact This vulnerability impacts all installations of NodeBB. The vulnerability allows for an attacker to take over any account without the involvement of the victim, and as such, the remediation should be applied immediately (either via NodeBB upgrade or cherry-pick of the specific changeset. Patches have been provided for both active branches of NodeBB (v2.x and v1.19.x)—please see below. If you are already on v2.0.0 or v1.19.7, you can upgrade with no ill effects. The new version contains only the patch for this vulnerability. The impact of…

    Recommended action: Upgrade to 2.0.1 or 1.19.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Critical, CVSS 9.8npmAmendedPublished

    API token verification can be bypassed in NodeBB

    CVE-2021-43786 · GHSA-hf2m-j98r-4fqw

    Affected
    • npm nodebb >= 1.15.0, < 1.18.5
    Fixed in
    1.18.5· Vendor fix available
    Issue
    Impact Incorrect logic present in the token verification step unintentionally allowed master token access to the API. Patches The vulnerability has been patch as of v1.18.5. Workarounds Cherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to receive this patch in lieu of a full upgrade. For more information If you have any questions or comments about this advisory: Email us at security@nodebb.org

    Recommended action: Upgrade to 1.18.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Critical, CVSS 9.0npmAmendedPublished

    XSS via prototype pollution in NodeBB

    CVE-2021-43787 · GHSA-wx69-rvg3-x7fc

    Affected
    • npm nodebb >= 1.15.0, < 1.18.5
    Fixed in
    1.18.5· Vendor fix available
    Issue
    Impact A prototype pollution vulnerability in the uploader module allowed a malicious user to inject arbitrary data (i.e. javascript) into the DOM, theoretically allowing for an account takeover when used in conjunction with a path traversal vulnerability disclosed at the same time as this report. Patches The vulnerability has been patched as of v1.18.5. Workarounds Cherry-pick commit hash 1783f918bc19568f421473824461ff2ed7755e4c to receive this patch in lieu of a full upgrade. For more information If you have any questions or comments about this advisory: Email us at security@nodebb.org

    Recommended action: Upgrade to 1.18.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Medium, CVSS 5.0npmAmendedPublished

    NodeBB vulnerable to path traversal in translator module

    CVE-2021-43788 · GHSA-pfj7-2qfw-vwgm

    Affected
    • npm nodebb >= 1.0.4, < 1.18.5
    Fixed in
    1.18.5· Vendor fix available
    Issue
    Impact Prior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected languages/ directory. Patches The vulnerability has been patched as of v1.18.5. Workarounds Cherry-pick commit hash c8b2fc46dc698db687379106b3f01c71b80f495f to receive this patch in lieu of a full upgrade. For more information If you have any questions or comments about this advisory: Email us at security@nodebb.org

    Recommended action: Upgrade to 1.18.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. Medium, CVSS 6.1npmAmendedPublished

    Cross-site Scripting in NodeBB

    CVE-2015-9286 · GHSA-72fv-qgj6-2w2p

    Affected
    • npm nodebb < 0.8.2
    Fixed in
    0.8.2· Vendor fix available
    Issue
    Controllers.outgoing in controllers/index.js in NodeBB before 0.7.3 has outgoing XSS.

    Recommended action: Upgrade to 0.8.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →