CVE-2022-25760
7.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L/E:P
Summary
All versions of package accesslog are vulnerable to Arbitrary Code Injection due to the usage of the Function constructor without input sanitization. If (attacker-controlled) user input is given to the format option of the package's exported constructor function, it is possible for an attacker to execute arbitrary JavaScript code on the host that this package is being run on.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | accesslog | 0 < unspecified | affected |
Weaknesses
- Arbitrary Code Injection
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099
- https://github.com/carlos8f/node-accesslog/blob/master/lib/compile.js%23L6
References
- https://snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099
- https://github.com/carlos8f/node-accesslog/blob/master/lib/compile.js%23L6
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.