CVE-2020-5840 json
HashBrown CMS Directory Traversal
published 6y ago modified 4mo ago also GHSA-q7hx-mrv5-6mrp , EUVD-2022-4911
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm hashbrown-cms 1.3.2
- hashbrowncms hashbrown_cms 1.3.2
Is CVE-2020-5840 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.49% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | hashbrown-cms | <1.3.2 |
1.3.2 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/HashBrownCMS/hashbrown-cms/compare/v1.3.1...v1.3.2
web, patch, third-party-advisory
-
github.com
/HashBrownCMS/hashbrown-cms/commit/6b37b73944447bb29c6aaeb086b04196d80c692a
web
-
github.com
/HashBrownCMS/hashbrown-cms/releases/tag/v1.3.2
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5840
advisory
-
github.com
/HashBrownCMS/hashbrown-cms
package
Sources
- CVE List CVE-2020-5840
- GitHub Advisory GHSA-q7hx-mrv5-6mrp
- NVD CVE-2020-5840
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.