CVE-2018-3713: Path Traversal in angular-http-server
Summary
CVE-2018-3713: Path Traversal in angular-http-server. Affects angular-http-server versions < 1.6.0. Fixed in 1.6.0. 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 angular-http-server package is an npm package used for serving Angular applications locally during development. It provides a simple HTTP server for hosting the application files. The package is widely used by developers to quickly test and debug their Angular projects. However, versions of angular-http-server prior to 1.6.0 are vulnerable to a path traversal attack, which allows remote attackers to read files from the server.
Vulnerability Detail
The vulnerability in angular-http-server arises from insufficient input validation, which allows an attacker to manipulate the file path and access files outside the intended directory. By crafting a specific request, an attacker can traverse the file system and read sensitive files on the server. This could lead to unauthorized access to sensitive information, such as configuration files or user data. The vulnerability has a CVSS score of 6.5, indicating a moderate severity level.
How To Fix
Latest published version: 1.12.0 as of 22 Oct 2026
npm install angular-http-server@1.12.0
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.6.0
This is the first release that contains the fix.
npm install angular-http-server@1.6.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The angular-http-server package is vulnerable to a path traversal attack, which allows remote attackers to read files from the server. To mitigate this vulnerability, it is crucial to update to version 1.6.0 or later. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for angular-http-server →
FAQ
angular-http-server is an npm package used for serving Angular applications locally during development. It provides a simple HTTP server for hosting the application files.
Path traversal is a vulnerability that allows an attacker to access files or directories outside the intended scope of an application. In this case, the vulnerability in angular-http-server allows remote attackers to read files from the server that hosts the application.
The vulnerability in angular-http-server can lead to unauthorized access to sensitive files on the server. This could expose confidential information, such as configuration files or user data, to remote attackers.
To fix the vulnerability, update angular-http-server to version 1.6.0 or later. This version includes the necessary patches to prevent path traversal attacks. Run the command npm install angular-http-server@latest to update the package.
No, there is no known workaround for this vulnerability. It is recommended to update to the latest version of angular-http-server to mitigate the risk.
References
Related vulnerabilities
Recent vulnerabilities recorded for angular-http-server.