Live threats

All CVEs / Accesslog Project

CVE-2022-25760Accesslog Project Accesslog

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Mar 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Accesslog.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm accesslog ≤ 0.0.2 no fixed version —

Per OSV / GitHub Advisories (GHSA-8m2f-74r2-x3f2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
accesslog_projectaccesslogall

Official sources

References

Links published by the sources. Open them with care.