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.