Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hfs
  4. ›
  5. GHSA-xcxh-6cv4-q8p8

GHSA-xcxh-6cv4-q8p8: HFS user adding a "web link" in HFS is vulnerable to "target=_blank" exploit

August 12, 2025 (updated November 10, 2025)

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.

References

  • github.com/advisories/GHSA-xcxh-6cv4-q8p8
  • github.com/rejetto/hfs
  • github.com/rejetto/hfs/commit/6531bcd2ab285af88f91831e30d8a03f5b9fe20d
  • github.com/rejetto/hfs/security/advisories/GHSA-xcxh-6cv4-q8p8

Code Behaviors & Features

Detect and mitigate GHSA-xcxh-6cv4-q8p8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.57.10

Fixed versions

  • 0.57.10

Solution

Upgrade to version 0.57.10 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1022: Use of Web Link to Untrusted Target with window.opener Access

Source file

npm/hfs/GHSA-xcxh-6cv4-q8p8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:06 +0000.