CVE-2025-64718Nodeca Js-yaml
Medium 5.3 No auth needed
Follow: this CVE · Nodeca · Nodeca Js-yaml We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 13, 2025
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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).
What to do
- Apply the vendor's security update for Js-yaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | js-yaml |
≥ 4.0.0 < 4.1.1 |
4.1.1 |
npm install js-yaml@4.1.1 |
| npm | js-yaml |
< 3.14.2 |
3.14.2 |
npm install js-yaml@3.14.2 |
Per OSV / GitHub Advisories (GHSA-mh29-5h37-fv8m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodeca | js-yaml | < 3.14.2 |
| nodeca | js-yaml | ≥ 4.0.0 < 4.1.1 |
Official advisories
- Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security and bug fix updates · Red Hat · RHSA-2026:61939 · Dec 1, 2026 High
- velociraptor-0.7.0.4.git185.a5708584-2.1 on GA media · SUSE · openSUSE-SU-2026:11126-1 · Jun 25, 2026 Critical
- Multiple Vulnerabilities in SIDIS Prime Before V4.0.800 · Siemens · SSA-485750 · Mar 10, 2026 High
- Security update for cockpit-repos · SUSE · SUSE-SU-2026:20540-1 · Feb 18, 2026 Medium
- Security update for cockpit-repos · SUSE · SUSE-SU-2026:20580-1 · Feb 18, 2026 Medium
Also: SUSE (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Issue Tracking
- github.com Vendor Advisory
- github.com Vendor Advisory