Skip to content
OpenAdvisories
High · 7.1 CVE-2022-25760 EUVD-2022-1380GHSA-8m2f-74r2-x3f2

Arbitrary Code Injection

Published Mar 17, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— accesslog < unspecified unspecified

Affected packages

EcosystemPackageAffectedFixedRecord
npm accesslog <= 0.0.2 — GHSA-8m2f-74r2-x3f2

References