Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hashbrown-cms
  4. ›
  5. CVE-2020-5840

CVE-2020-5840: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 24, 2022 (updated July 13, 2023)

An issue was discovered in HashBrown CMS before 1.3.2. Server/Entity/Resource/Connection.js allows an attacker to reach a parent directory via a crafted name or ID field.

References

  • github.com/HashBrownCMS/hashbrown-cms/commit/6b37b73944447bb29c6aaeb086b04196d80c692a
  • github.com/HashBrownCMS/hashbrown-cms/compare/v1.3.1...v1.3.2
  • github.com/HashBrownCMS/hashbrown-cms/releases/tag/v1.3.2
  • github.com/advisories/GHSA-q7hx-mrv5-6mrp
  • nvd.nist.gov/vuln/detail/CVE-2020-5840

Code Behaviors & Features

Detect and mitigate CVE-2020-5840 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.2

Fixed versions

  • 1.3.2

Solution

Upgrade to version 1.3.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/hashbrown-cms/CVE-2020-5840.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:55 +0000.