swagger-ui
Affected
- introduced
0, fixed3.18.0(semver)
Fixed versions
3.18.0
Fix
- Fixed version
3.18.0npm install [email protected]
Advisory
Also known as: None
Reverse Tabnapping in swagger-ui
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.
Medium Basis: The source's own band: MODERATE
0, fixed 3.18.0 (semver)3.18.0
3.18.0npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0