CVE-2022-25760

Arbitrary Code Injection

Published Mar 17, 2022 CVSS 3.1 · 7.1 High EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1380 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.
Github GHSA Github GHSA GHSA-8m2f-74r2-x3f2 Code injection in accesslog
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 11:50 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Mar 17, 2022, 12:15 PM
Modified
Jun 17, 2026, 4:34 AM