Description (CNA)
Outline is a service that allows for collaborative documentation. Prior to 1.4.0, during the JSON import process, the value of attachments[].key from the imported JSON is passed directly to path.join(rootPath, node.key) and then read using fs.readFile without validation. By embedding path traversal sequences such as ../ or absolute paths, an attacker can read arbitrary files on the server and import them as attachments. This vulnerability is fixed in 1.4.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| outline / outline | affected < 1.4.0 |
CWE
CWE-22
References
- https://github.com/outline/outline/security/advisories/GHSA-7r4f-3wjv-83xf
- https://github.com/outline/outline/releases/tag/v1.4.0
ADP enrichment
No English description supplied.
No references supplied.