Arbitrary code injection in accesslog
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | accesslog | all versions | — | No fix listed | CNA |
| — | accesslog (npm) | up to 0.0.2 | — | No fix listed | GHSA-8m2f-74r2-x3f2 |
- accesslog Vendor— Affected all versions Fixed in — No fix listed CNA
- accesslog (npm) Vendor— Affected up to 0.0.2 Fixed in — No fix listed GHSA-8m2f-74r2-x3f2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:accesslog_project:accesslog:*:*:*:*:*:*:*:* | all versions | Vulnerable | Accesslog Project |
- cpe:2.3:a:accesslog_project:accesslog:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Accesslog Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25760
- 2026-10-03 Alias added: GHSA-8m2f-74r2-x3f2
References
Sources
- CVE-2022-25760 · CVE Program
- CVE-2022-25760 · NVD
- FIRST EPSS
- GHSA-8m2f-74r2-x3f2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences