Advisory

GHSA-qm5v-pj64-852j

Also known as: None

Summary

Passbolt Api Tabnabbing when opening URI with menu "Open URI in a new tab"

Details

Description
A user could create and share a resource with a malicious URI. When the victim opens with menu “Open URI in a new tab” function, the malicious page has access to the window.opener object.

Impact of issue
The newly opened malicious page can for example change the window.opener.location to redirect the user to a phishing page, or call a JavaScript function served by the AppJS on the user behalf for example to try to affect the integrity of the data.

Fix
The code that opens a new window via window.open(); now open the tab with the noopener attribute.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-20 17:09 UTC
Modified
2024-12-05 05:36 UTC

Affected packages and fixes

passbolt/passbolt_api

Packagist · All systems

Affected

  • introduced 0, fixed 2.11.0 (ecosystem)

Fixed versions

2.11.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences