GHSA-x9p2-fxq6-2m5f

Suggest an improvement
Source
https://github.com/advisories/GHSA-x9p2-fxq6-2m5f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-x9p2-fxq6-2m5f/GHSA-x9p2-fxq6-2m5f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x9p2-fxq6-2m5f
Published
2019-06-20T14:33:07Z
Modified
2021-08-16T23:44:47Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Reverse Tabnapping in swagger-ui
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2019-06-20T14:13:56Z",
    "severity": "MODERATE",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-1022"
    ]
}
References

Affected packages

npm / swagger-ui

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.18.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-x9p2-fxq6-2m5f/GHSA-x9p2-fxq6-2m5f.json"