GHSA-qm5v-pj64-852j

Suggest an improvement
Source
https://github.com/advisories/GHSA-qm5v-pj64-852j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-qm5v-pj64-852j/GHSA-qm5v-pj64-852j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qm5v-pj64-852j
Published
2024-05-20T17:09:57Z
Modified
2024-05-20T17:15:59.229377Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
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.

References

Affected packages

Packagist / passbolt/passbolt_api

Package

Name
passbolt/passbolt_api
Purl
pkg:composer/passbolt/passbolt_api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.0

Affected versions

v1.*

v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.5.1
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.6.9
v1.6.10

v2.*

v2.0.0-rc1
v2.0.0-rc2
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.7
v2.0.8
v2.1.0
v2.1.1
v2.2.0
v2.3.0
v2.4
v2.5.0
v2.5.1
v2.6.0
v2.6.1
v2.7.0
v2.7.1
v2.7.2
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.8.5
v2.9.0
v2.10.0