GHSA-x9p2-fxq6-2m5f
4.3medium
Reverse Tabnapping in swagger-ui
- Severity
- 4.3medium CVSS:3.1 by GitHub
- Published
- Last changed
Description
Versions of swagger-ui prior to 3.18.0 are vulnerable to Reverse Tabnapping. 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| swagger-ui (npm) | before 3.18.0 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-x9p2-fxq6-2m5f changed 2021-08-16 | CC-BY-4.0 |