SecurityContext

CVE-2020-15236: Wiki.js - Path Traversal

  • Cve: CVE-2020-15236
  • Name: Wiki.js - Path Traversal
  • Description: In Wiki.js before version 2.5.151, directory traversal outside of Wiki.js context is possible when a storage module with local asset cache fetching is enabled. A malicious user can potentially read any file on the file system by crafting a special URL that allows for directory traversal. This is only possible when a storage module implementing local asset cache (e.g Local File System or Git) is enabled and that no web application firewall solution (e.g. cloudflare) strips potentially malicious URLs. Commit 084dcd69d1591586ee4752101e675d5f0ac6dcdc fixes this vulnerability by sanitizing the path before it is passed on to the storage module. The sanitization step removes any directory traversal (e.g. `..` and `.`) sequences as well as invalid filesystem characters from the path. As a workaround, disable any storage module with local asset caching capabilities such as Local File System and Git.
  • Impact: Attackers can read arbitrary files on the server, potentially leading to information disclosure or further system compromise.
  • Remediation: Update to version 2.5.151 or later, which sanitizes paths before processing.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01766
  • Epss percentile: 0.78658
  • Assignee: [email protected]
  • Published at: 2020-10-05T15:15:12Z
  • Age in days: 2241
  • Modified at: 2026-06-17T02:56:19Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15236
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

UrlSourceTags
https://github.com/Requarks/wiki/commit/084dcd69d1591586ee4752101e675d5f0ac6dcdcnvdPatch, Third Party Advisory
https://github.com/Requarks/wiki/security/advisories/GHSA-whpv-5xg2-w527nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
requarks:wiki.js>= 2.5.80, < 2.5.151nonvd/v1/products/requarks/wiki.js

Projects

RepositoryLink kindsIndexedUrl
Requarks/wikicommit, fix, security_advisoryyes/v1/repositories/Requarks/wiki

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 20
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports