Path Traversal Vulnerability in ponse
Summary
GHSA-wfhx-6pcm-7m55: Path Traversal in ponse. Affects ponse versions < 2.0.2. Fixed in 2.0.2. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package 'ponse' is an npm package that provides a simple HTTP server for serving static files. It is commonly used to serve web applications and files. The package allows developers to easily create a server and serve files from a specified folder. However, versions prior to 2.0.2 are vulnerable to a Path Traversal attack. This means that the package fails to properly sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.
Vulnerability Detail
The Path Traversal vulnerability in 'ponse' allows attackers to bypass the intended restrictions and access sensitive files on the server. By manipulating the URL, an attacker can traverse directories and access files that should not be accessible. This can lead to unauthorized disclosure of sensitive information, such as configuration files or user data. The vulnerability has a high severity rating and is classified under CWE-22.
How To Fix
Latest published version: 8.0.2 as of 23 Oct 2026
npm install ponse@8.0.2
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.0.2
This is the first release that contains the fix.
npm install ponse@2.0.2
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The 'ponse' package prior to version 2.0.2 is vulnerable to a Path Traversal attack, which allows attackers to access sensitive files on the server. It is crucial for developers to upgrade to the latest secure version to mitigate the risk of unauthorized access and potential data disclosure. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for ponse →
FAQ
The vulnerability allows attackers to access sensitive files on the server that should not be accessible. This can lead to unauthorized disclosure of sensitive information and potential compromise of the server.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file and the playground will analyze it for vulnerabilities.
No, there are no known workarounds for this vulnerability. It is recommended to upgrade to the latest secure version of the 'ponse' package.
There is no specific evidence of this vulnerability being exploited in the wild at the moment. However, it is important to promptly address the vulnerability to prevent potential attacks.
This vulnerability was discovered and reported by the GitHub Security Lab.