GitHub Advisory Database
GHSA-xx4g-r65p-3qf2
mpregular vulnerable to prototype pollution
Details
mpregular is a package that provides a small program development framework based on RegularJS. A Prototype Pollution vulnerability in the mp.addEventHandler function of mpregular version 0.2.0 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | mpregular | All versions up to and including 0.2.0 |