Skip to content

CVE-2025-64718 (Medium) detected in js-yaml-3.14.1.tgz, js-yaml-4.1.0.tgz #253

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2025-64718 - Medium Severity Vulnerability

Vulnerable Libraries - js-yaml-3.14.1.tgz, js-yaml-4.1.0.tgz

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: /ui/package.json

Path to vulnerable library: /ui/package.json

Dependency Hierarchy:

  • @postgres.ai/shared-4.0.0.tgz (Root Library)
    • react-scripts-5.0.1.tgz
      • babel-jest-27.5.1.tgz
        • babel-plugin-istanbul-6.1.1.tgz
          • load-nyc-config-1.1.0.tgz
            • js-yaml-3.14.1.tgz (Vulnerable Library)
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: /ui/package.json

Path to vulnerable library: /ui/package.json

Dependency Hierarchy:

  • @postgres.ai/shared-4.0.0.tgz (Root Library)
    • react-scripts-5.0.1.tgz
      • eslint-8.57.1.tgz
        • js-yaml-4.1.0.tgz (Vulnerable Library)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-mh29-5h37-fv8m

Release Date: 2025-11-13

Fix Resolution: js-yaml - 4.1.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions