CVE-2022-25760
Last modified
CVE-2022-25760 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.61% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Accesslog Project | Accesslog | All versions |
References
- https://snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25760?
How severe is CVE-2022-25760?
How do I fix CVE-2022-25760?
Are you affected by CVE-2022-25760?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
