CVE-2022-25931

high

Description

All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.

References

https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539

https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27

https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9

Details

Source: Mitre, NVD

Published: 2022-12-20

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High

EPSS

EPSS: 0.00309