GHSA-x9p2-fxq6-2m5f – swagger-ui
Package
Manager: npm
Name: swagger-ui
Vulnerable Version: >=0 <3.18.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
Reverse Tabnapping in swagger-ui Versions of `swagger-ui` prior to 3.18.0 are vulnerable to [Reverse Tabnapping](https://www.owasp.org/index.php/Reverse_Tabnabbing). The package uses `target='_blank'` in anchor tags, allowing attackers to access `window.opener` for the original page. This is commonly used for phishing attacks. ## Recommendation Upgrade to version 3.18.0 or later.
Metadata
Created: 2019-06-20T14:33:07Z
Modified: 2021-08-16T23:44:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-x9p2-fxq6-2m5f/GHSA-x9p2-fxq6-2m5f.json
CWE IDs: ["CWE-1022"]
Alternative ID: N/A
Finding: F097
Auto approve: 1