Skip to content

← Public intelligence

npm package

hfs

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 2.9npmAmendedPublished

    HFS user adding a "web link" in HFS is vulnerable to "target=_blank" exploit

    GHSA-xcxh-6cv4-q8p8

    Affected
    • npm hfs <= 0.57.9
    Fixed in
    0.57.10· Vendor fix available
    Issue
    When adding a "web link" to the HFS virtual filesystem, the frontend opens it with target="blank" but without the rel="noopener noreferrer" attribute. This allows the opened page to use the window.opener property to change the location of the original HFS tab. Details While most modern browsers have fixes already implemented for this target="blank" exploit at the browser level, users on outdated browsers remain vulnerable. This means that if an admin of the HFS instance adds a link to an external third-party service (that they believe is safe at the time) and that service they added later becomes compromised, the malicious page could replace the original HFS tab's content with a phishing page. This does not require the admin account itself to be compromised, only that a legitimate linked site turns malicious. Impact Affected users (people using old browsers without the browser level fix) could be misled into entering their HFS credentials or other sensitive information into a…

    Recommended action: Upgrade to 0.57.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.7npmAmendedPublished

    rejetto HFS vulnerable to OS Command Execution by remote authenticated users

    CVE-2024-39943 · GHSA-5f4x-hwv2-w9w2

    Affected
    • npm hfs < 0.52.10
    Fixed in
    0.52.10· Vendor fix available
    Issue
    rejetto HFS (aka HTTP File Server) 3 before 0.52.10 on Linux, UNIX, and macOS allows OS command execution by remote authenticated users (if they have Upload permissions). This occurs because a shell is used to execute df (i.e., with execSync instead of spawnSync in childprocess in Node.js).

    Recommended action: Upgrade to 0.52.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →