Skip to content
OpenAdvisories
Low · 3.1 GHSA-h6mq-3cj6-h738

Reverse Tabnabbing in showdown

Published Sep 3, 2020 · Updated Oct 1, 2021 · Assigned by GHSA

Description

Versions of `showdown` prior to 1.9.1 are vulnerable to [Reverse Tabnabbing](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 when opening links. This is commonly used for phishing attacks.

## Recommendation

Upgrade to version 1.9.1 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm showdown < 1.9.1 1.9.1 GHSA-h6mq-3cj6-h738

References