CWE-28: Path Traversal: '..\filedir', published in 2023
Filter
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "..\" sequences that can resolve to a location that is outside of that directory.
What the weakness is: CWE-28 at MITRE. All weaknesses
Ask an AI about CWE-28
Show the prompt
Explain CWE-28: Path Traversal: '..\filedir' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/28.html and https://cve.bz/cve/cwe/28?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 5.3CVE-2023-2059dedecmsEPSS 3.0%
A vulnerability was found in DedeCMS 5.7.87. It has been rated as problematic. Affected by this issue is some unknown functionality of the file uploads/include/dialog/select_templets.php. The manipulation leads to path traversal: '..\filed…