CVE-2025-57323
Regularjs Mpregular vulnerability
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 products
Mpregular. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Regularjs Mpregular runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57323 · Third Party Advisory
- github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/mpregular%400.2.0/i
- nvd.nist.gov/vuln/detail/CVE-2025-57323
- github.com/advisories/GHSA-xx4g-r65p-3qf2
- nvd.nist.gov/vuln/detail/CVE-2025-57323
- cve.org/CVERecord?id=CVE-2025-57323
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.