high7.5
CVE-2025-57318
csvjson vulnerable to prototype injection
Impact
A Prototype Pollution vulnerability in the toCsv function of csvjson versions thru 5.1.0 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 | Fixed in |
|---|---|---|---|
| npm | csvjson | <= 5.1.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pradeep-Mishra | Csvjson | through 5.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/csvjson%405.1.0/index.js
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57318
- https://github.com/advisories/GHSA-xq4f-3jxp-qv6m
- https://nvd.nist.gov/vuln/detail/CVE-2025-57318