CVE-2025-64718
Last modified
CVE-2025-64718 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. js-yaml is a JavaScript YAML parser and dumper. In js-yaml before 4.1.1 and 3.14.2, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution (`__proto__`). EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
js-yaml is a JavaScript YAML parser and dumper. In js-yaml before 4.1.1 and 3.14.2, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution (`__proto__`). All users who parse untrusted yaml documents may be impacted. The problem is patched in js-yaml 4.1.1 and 3.14.2. Users can protect against this kind of attack on the server by using `node --disable-proto=delete` or `deno` (in Deno, pollution protection is on by default).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodeca | Js-Yaml | < 3.14.2 |
| Nodeca | Js-Yaml | >= 4.0.0, < 4.1.1 |
References
- https://github.com/advisories/GHSA-mh29-5h37-fv8mVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64718?
How severe is CVE-2025-64718?
How do I fix CVE-2025-64718?
Are you affected by CVE-2025-64718?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
