GitHub Advisoryadvisory · npm
GHSA-xx4g-r65p-3qf2 mpregular vulnerable to prototype pollution
HIGH
Official page ↗
- Aliases
- CVE-2025-57323
- Ecosystem
- npm
- Packages
- mpregular
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2025-09-25
Affected packages
• npm mpregular: <= 0.2.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2025-57323 mpregular is a package that provides a small program development framework based on RegularJS. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-57323 advisory
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/mpregular%400.2.0/index.js web
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57323 web
- https://github.com/regularjs/regular package