CVE-2022-25760

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
17/03/2022
Last modified:
23/03/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:accesslog_project:accesslog:*:*:*:*:*:*:*:*