CVE-2025-57318 csvjson vulnerable to prototype injection

High 7.5 Published Updated

Attackers can cause denial of service via prototype pollution in the csvjson library's toCsv function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-57318?

CVE-2025-57318 is a high-severity vulnerability in n/a, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-1321

Which versions are affected by CVE-2025-57318?

2 open source packages ship an affected version, including csvjson. It affects 1 product.

PackageAffectedFixed in
csvjson npmAll versions to 5.1.0None
csvjson npmAll versions to 5.1.0None

Products include Pradeep-Mishra Csvjson.

How do I fix CVE-2025-57318?

No fix has been published for CVE-2025-57318 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-57318 being exploited?

There is no known exploitation of CVE-2025-57318 in the wild and no public exploit code.

Sources

Also known as GHSA-xq4f-3jxp-qv6m.

Is CVE-2025-57318 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free