CVE-2018-3744: Path Traversal in html-pages
Summary
CVE-2018-3744: Path Traversal in html-pages. Affects html-pages versions < 2.1.2. No fix is published. 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 html-pages package is an npm package used for generating HTML pages. It provides functionality for creating and manipulating HTML documents. Versions prior to 2.1.0 of html-pages are vulnerable to a path traversal vulnerability.
Vulnerability Detail
The path traversal vulnerability in html-pages allows an attacker to access files outside of the intended directory. This can lead to unauthorized access to sensitive files and potentially execute arbitrary code. The vulnerability has a CVSS score of 9.8, indicating its critical severity.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Conclusion
In conclusion, the html-pages package prior to version 2.1.0 is vulnerable to a critical path traversal vulnerability. It is highly recommended to update to the latest version to mitigate the risk of unauthorized access and potential code execution. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for html-pages →
FAQ
The vulnerability allows an attacker to access files outside of the intended directory, potentially leading to unauthorized access to sensitive information and execution of arbitrary code.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and the tool will provide real-time alerts for open-source vulnerabilities.
No, there is no known workaround for this vulnerability. It is recommended to update to the latest version of html-pages to mitigate the issue.
There are no known exploits for this vulnerability at the moment. However, it is crucial to update to the latest version to prevent potential exploitation.
You can find more information about this vulnerability in the GitHub Advisory Database at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-fm87-46vv-jqrr/GHSA-fm87-46vv-jqrr.json
Related vulnerabilities
Recent vulnerabilities recorded for html-pages.