GHSA-8m2f-74r2-x3f2

    Dashboard / Vulnerabilities / GHSA-8m2f-74r2-x3f2

    GHSA-8m2f-74r2-x3f2

    Published: 18 Mar 2022Last Modified: 13 Mar 2026

    Summary: Code injection in accesslog

    Details: 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 packages

    Package

    Name: accesslog

    Purl: pkg:npm/accesslog

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High