Skip to content

libxmljs-0.19.10.tgz: 3 vulnerabilities (highest severity is: 8.8) #21

@staging-whitesource-for-github-com

Description

Vulnerable Library - libxmljs-0.19.10.tgz

libxml bindings for v8 javascript engine

Library home page: https://registry.npmjs.org/libxmljs/-/libxmljs-0.19.10.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/libxmljs/package.json

Found in HEAD commit: a8c329a3af185a914e5bb0f48e708b10999e5581

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (libxmljs version) Remediation Possible** Reachability
CVE-2026-23950 High 8.8 tar-6.2.1.tgz Transitive N/A*

Unreachable

CVE-2026-24842 High 8.2 tar-6.2.1.tgz Transitive N/A*

Unreachable

CVE-2024-34391 High 8.1 libxmljs-0.19.10.tgz Direct N/A

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-23950

Vulnerable Library - tar-6.2.1.tgz

Library home page: https://registry.npmjs.org/tar/-/tar-6.2.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/tar/package.json

Dependency Hierarchy:

  • libxmljs-0.19.10.tgz (Root Library)
    • node-pre-gyp-1.0.11.tgz
      • tar-6.2.1.tgz (Vulnerable Library)

Found in HEAD commit: a8c329a3af185a914e5bb0f48e708b10999e5581

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

node-tar,a Tar for Node.js, has a race condition vulnerability in versions up to and including 7.5.3. This is due to an incomplete handling of Unicode path collisions in the "path-reservations" system. On case-insensitive or normalization-insensitive filesystems (such as macOS APFS, In which it has been tested), the library fails to lock colliding paths (e.g., "ß" and "ss"), allowing them to be processed in parallel. This bypasses the library's internal concurrency safeguards and permits Symlink Poisoning attacks via race conditions. The library uses a "PathReservations" system to ensure that metadata checks and file operations for the same path are serialized. This prevents race conditions where one entry might clobber another concurrently. This is a Race Condition which enables Arbitrary File Overwrite. This vulnerability affects users and systems using node-tar on macOS (APFS/HFS+). Because of using "NFD" Unicode normalization (in which "ß" and "ss" are different), conflicting paths do not have their order properly preserved under filesystems that ignore Unicode normalization (e.g., APFS (in which "ß" causes an inode collision with "ss")). This enables an attacker to circumvent internal parallelization locks ("PathReservations") using conflicting filenames within a malicious tar archive. The patch in version 7.5.4 updates "path-reservations.js" to use a normalization form that matches the target filesystem's behavior (e.g., "NFKD"), followed by first "toLocaleLowerCase('en')" and then "toLocaleUpperCase('en')". As a workaround, users who cannot upgrade promptly, and who are programmatically using "node-tar" to extract arbitrary tarball data should filter out all "SymbolicLink" entries (as npm does) to defend against arbitrary file writes via this file system entry name collision issue.

Publish Date: 2026-01-20

URL: CVE-2026-23950

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: High
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

CVE-2026-24842

Vulnerable Library - tar-6.2.1.tgz

Library home page: https://registry.npmjs.org/tar/-/tar-6.2.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/tar/package.json

Dependency Hierarchy:

  • libxmljs-0.19.10.tgz (Root Library)
    • node-pre-gyp-1.0.11.tgz
      • tar-6.2.1.tgz (Vulnerable Library)

Found in HEAD commit: a8c329a3af185a914e5bb0f48e708b10999e5581

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

node-tar,a Tar for Node.js, contains a vulnerability in versions prior to 7.5.7 where the security check for hardlink entries uses different path resolution semantics than the actual hardlink creation logic. This mismatch allows an attacker to craft a malicious TAR archive that bypasses path traversal protections and creates hardlinks to arbitrary files outside the extraction directory. Version 7.5.7 contains a fix for the issue.

Publish Date: 2026-01-28

URL: CVE-2026-24842

CVSS 3 Score Details (8.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

CVE-2024-34391

Vulnerable Library - libxmljs-0.19.10.tgz

libxml bindings for v8 javascript engine

Library home page: https://registry.npmjs.org/libxmljs/-/libxmljs-0.19.10.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/libxmljs/package.json

Dependency Hierarchy:

  • libxmljs-0.19.10.tgz (Vulnerable Library)

Found in HEAD commit: a8c329a3af185a914e5bb0f48e708b10999e5581

Found in base branch: master

Vulnerability Details

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of attrs() that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).

Publish Date: 2024-05-02

URL: CVE-2024-34391

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click 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