Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nodebb
  4. ›
  5. CVE-2021-43787

CVE-2021-43787: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 29, 2021 (updated October 27, 2022)

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.

References

  • github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c
  • github.com/NodeBB/NodeBB/releases/tag/v1.18.5
  • github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc
  • nvd.nist.gov/vuln/detail/CVE-2021-43787

Code Behaviors & Features

Detect and mitigate CVE-2021-43787 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.15.5 up to 1.18.4

Fixed versions

  • 1.18.5

Solution

Upgrade to version 1.18.5 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/nodebb/CVE-2021-43787.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:13 +0000.