Vulnerability

CVE-2022-25760

criticalCVSS 3.1 9.8Published 17 Mar 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Accesslog Project accesslog

Weakness type

References

  • github.com /carlos8f/node-accesslog/blob/master/lib/compile.js%23L6
  • snyk.io /vuln/SNYK-JS-ACCESSLOG-2312099

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning