Skip to content

CVE-2022-25760 Arbitrary Code Injection

CriticalCVSS 9.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
accesslog project accesslog All versions No fix listed No fix yet
npm accesslog(npm) <= 0.0.2 after 0.0.2 Fixed

Affected products

ProductAffected versionsFixed in
npm accesslog(npm) <= 0.0.2 No fix listed
accesslog project accesslog All versions No fix listed

References