Reverse Tabnapping in swagger-ui
Priority LOW 38CWE-1022Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
Versions of `swagger-ui` prior to 3.18.0 are vulnerable to [Reverse Tabnapping](https://www.owasp.org/index.php/Reverse_Tabnabbing). 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.
Why it matters now
Fix Fixed swagger-ui (npm): 3.18.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | swagger-ui (npm) | before 3.18.0 | 3.18.0 | Patch available | GHSA-x9p2-fxq6-2m5f |
- swagger-ui (npm) Vendor— Affected before 3.18.0 Fixed in 3.18.0 Patch available GHSA-x9p2-fxq6-2m5f
Remediation
- Fix · GHSA-x9p2-fxq6-2m5f swagger-ui (npm) Fixed in 3.18.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-x9p2-fxq6-2m5f
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences