# GHSA-224h-p7p5-rh85: Directory Traversal in wenluhong1

- Severity: High 7.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-01T17:32:26.000Z
- Modified: 2021-09-23T21:43:28.000Z
- Weaknesses: CWE-22

## Description

Affected versions of `wenluhong1` resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.

Example request:
```
GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo
```


## Recommendation

No patch is available for this vulnerability.

It is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.

(As written by GitHub Advisory Database.)

## Affected

- wenluhong1 (npm): from 0.0.0

## References

- <https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/wenluhong1> (exploit, web)
- <https://snyk.io/vuln/npm:wenluhong1:20170509> (web)
- <https://www.npmjs.com/advisories/409> (web)

## Sources

- GitHub Advisory Database: [GHSA-224h-p7p5-rh85](https://github.com/advisories/GHSA-224h-p7p5-rh85), CC-BY-4.0, modified 2021-09-23

---

Page: https://cve.day/GHSA-224h-p7p5-rh85 · Whole record: https://cve.day/GHSA-224h-p7p5-rh85.json · Rebuilt by cve.day 2026-11-25T22:56:43.529Z
