Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVE-2025-57323
Summary
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" allows attackers to inject properties on "Object.prototype" via supplying a crafted payload, causing Denial-of-Service (DoS) as the minimum consequence.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-1321 - Prototype Pollution
Prototype pollution is one of the lesser-known vulnerabilities. It allows attackers to abuse the rules of JavaScript by injecting properties into the general object “Object” in JS. Modifying the prototype of “Object” affects the behavior of all objects in the entire app, potentially resulting in denial of service, arbitrary code execution, cross-site scripting, etc.
References
Advisory Timeline
- Published