Advisory

GHSA-x9p2-fxq6-2m5f

Also known as: None

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-06-20 14:33 UTC
Modified
2021-08-16 23:44 UTC

Affected packages and fixes

swagger-ui

npm · All systems

Affected

  • introduced 0, fixed 3.18.0 (semver)

Fixed versions

3.18.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences