CVE-2018-3744
Description
A path traversal vulnerability in html-pages node module allows remote attackers to read arbitrary files on the server.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A path traversal vulnerability in html-pages node module allows remote attackers to read arbitrary files on the server.
Vulnerability
The html-pages Node.js module contains a path traversal vulnerability that enables an attacker to read any file from the server using cURL. All versions up to and including 2.1.2 are affected [2]. The vulnerability resides in the way the module handles file paths, allowing traversal outside the intended directory. No specific configuration is required for the vulnerable code path to be reachable; the default behavior exposes this flaw [1][2].
Exploitation
An attacker does not need authentication or a privileged network position to exploit this vulnerability. The attacker can craft a request with a path traversal sequence (such as ../) in the URL. By using cURL or similar tools, the attacker can request arbitrary files from the server's filesystem. No user interaction is required, and the exploitation can be performed remotely over the network [1][2].
Impact
Successful exploitation results in information disclosure. An attacker can read any file on the server that the Node.js process has access to, potentially exposing sensitive data such as configuration files, credentials, or source code. The integrity and availability of the system are not directly compromised, but the confidentiality breach can lead to further attacks [1][2].
Mitigation
The vulnerability is addressed in a fix that was not publicly released at the time of disclosure. The project maintainer was unresponsive, and the package may be considered unmaintained. No official patched version exists in the npm registry [2][3]. As a workaround, users should avoid using the html-pages module or implement input validation and sanitization to prevent path traversal characters in file requests. The CVE is not listed in the CISA Known Exploited Vulnerabilities catalog.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
html-pagesnpm | <= 2.1.2 | — |
Affected products
2- HackerOne/html-pages node modulev5Range: Not fixed
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-fm87-46vv-jqrrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-3744ghsaADVISORY
- github.com/danielcardoso/html-pages/issues/2ghsax_refsource_MISCWEB
- hackerone.com/reports/306607ghsax_refsource_MISCWEB
- www.npmjs.com/advisories/665ghsaWEB
News mentions
0No linked articles in our index yet.