Path Traversal Vulnerability in ponse

ponse Updated 02 Oct 2025

Summary

03/09/2020
HIGH
Yes i
High
Not published

GHSA-wfhx-6pcm-7m55: Path Traversal in ponse. Affects ponse versions < 2.0.2. Fixed in 2.0.2. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback