CVE-2022-25760Accesslog Project Accesslog
Critical 9.8 No auth needed
Follow: this CVE · Accesslog Project · Accesslog Project Accesslog We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Accesslog.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| accesslog_project | accesslog | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- snyk.io Exploit Third Party Advisory