-
Notifications
You must be signed in to change notification settings - Fork 0
Description
CVE-2025-64718 - Medium Severity Vulnerability
Vulnerable Libraries - js-yaml-4.1.0.tgz, js-yaml-3.14.1.tgz
js-yaml-4.1.0.tgz
YAML 1.2 parser and serializer
Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/eslint/node_modules/js-yaml/package.json,/node_modules/@eslint/eslintrc/node_modules/js-yaml/package.json
Dependency Hierarchy:
- eslint-8.3.0.tgz (Root Library)
- ❌ js-yaml-4.1.0.tgz (Vulnerable Library)
js-yaml-3.14.1.tgz
YAML 1.2 parser and serializer
Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/js-yaml/package.json
Dependency Hierarchy:
- build-angular-13.0.3.tgz (Root Library)
- babel-plugin-istanbul-6.1.1.tgz
- load-nyc-config-1.1.0.tgz
- ❌ js-yaml-3.14.1.tgz (Vulnerable Library)
- load-nyc-config-1.1.0.tgz
- babel-plugin-istanbul-6.1.1.tgz
Found in HEAD commit: 977ea6ccaaf2045985ee40cacd5f6d676fa1a047
Found in base branch: master
Vulnerability Details
js-yaml is a JavaScript YAML parser and dumper. In js-yaml 4.1.0 and below, 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. 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).
Publish Date: 2025-11-13
URL: CVE-2025-64718
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-mh29-5h37-fv8m
Release Date: 2025-11-13
Fix Resolution: js-yaml - 4.1.1,js-yaml - 3.14.2
Step up your Open Source Security Game with Mend here