Vulnerability library
Security checkAugust 12, 2025

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmhfs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the hfs package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.57.9
  • Patched version(s): 0.57.10

References

Could your website be exposed too?

SmartScanner can check your website for HFS user adding a "web link" in HFS is vulnerable to "target=_blank" exploit and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 12, 2025