GHSA-x9p2-fxq6-2m5f
JSON

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 packageVersionsReported by
swagger-ui (npm)before 3.18.0GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-x9p2-fxq6-2m5f changed 2021-08-16CC-BY-4.0