High severity7.1NVD Advisory· Published Mar 17, 2022· Updated Jun 17, 2026
CVE-2022-25760
CVE-2022-25760
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
accesslognpm | <= 0.0.2 | — |
Affected products
3- accesslog/accesslogdescription
- cpe:2.3:a:accesslog_project:accesslog:*:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
4- snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-8m2f-74r2-x3f2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25760ghsaADVISORY
- github.com/carlos8f/node-accesslog/blob/master/lib/compile.js%23L6nvdBroken LinkWEB
News mentions
0No linked articles in our index yet.