Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43787

Nodebb is an open source Node.js based forum software. In affected versions 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. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-43787
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:00 UTC · Revision 1

Source evidence

CVE-2021-43787

core-osv · Original source

Published 29 Nov 2021, 20:15 UTC

Nodebb is an open source Node.js based forum software. In affected versions 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. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.

osv:CVE-2021-43787
Complete source record
{
  "id": "4eb34bef5946c72b9c0a68c6a57876ba0ee547f1e00e9b50d251ef6297943b19",
  "url": "https://osv.dev/vulnerability/CVE-2021-43787",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43787",
    "summary": "Nodebb is an open source Node.js based forum software. In affected versions 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. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.",
    "evidence": "osv:CVE-2021-43787",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-43787",
      "aliases": [
        "CVE-2021-43787",
        "GHSA-wx69-rvg3-x7fc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nodebb/nodebb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e8ca993aac4b90cfea131050814a19e144a27094"
                },
                {
                  "last_affected": "abbbc3d7c2c75a7877ee55debb9f47114e692778"
                },
                {
                  "fixed": "1783f918bc19568f421473824461ff2ed7755e4c"
                },
                {
                  "fixed": "c28ac8ec52910c4f9fffec5fb11de2705126c790"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.15.5"
                      },
                      {
                        "last_affected": "1.18.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1783f918bc19568f421473824461ff2ed7755e4c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c28ac8ec52910c4f9fffec5fb11de2705126c790"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.18.5"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43787.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:03.201393300Z",
      "provider": "osv",
      "references": [
        "https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c",
        "https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5",
        "https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc",
        "https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-43787",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386787,
  "published_at": "2021-11-29T20:15:08.19+00:00"
}