CVE-2025-57318
HIGH 7.5CVSS 3.1csvjson vulnerable to prototype injection
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.
- Published
- 24 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-1321
- Also known as
- GHSA-xq4f-3jxp-qv6m
- Sources
- NVDJSONOSV GHSA-xq4f-3jxp-qv6mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pradeep-mishra | csvjsoncpe:2.3:a:pradeep-mishra:csvjson:*:*:*:*:*:node.js:*:* |
<= 5.1.0 | |
| OSV | npm | csvjson | <= 5.1.0 |
References
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/csvjson%405.1.0/index.js · Broken Link, WEB
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57318 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57318 · ADVISORY
- https://github.com/pradeep-mishra/csvjson · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)