Prototype Pollution
mpregular is vulnerable to Prototype Pollution. The vulnerability is due to insufficient validation of user-supplied input in the mp.addEventHandler function, which allows an attacker to inject arbitrary properties into Object.prototype, potentially leading to denial of service or other unexpecte...