# GHSA-h6mq-3cj6-h738: Reverse Tabnabbing in showdown

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T23:21:16.000Z
- Modified: 2021-10-01T16:12:36.000Z
- Weaknesses: CWE-1022

## 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.

(As written by GitHub Advisory Database.)

## Affected

- showdown (npm): before 1.9.1

## References

- <https://github.com/showdownjs/showdown/pull/670> (web)
- <https://github.com/showdownjs/showdown/commit/1cd281f0643ef613dc1d36847d4c6cbb22501d91> (web)
- <https://github.com/showdownjs/showdown> (package)
- <https://snyk.io/vuln/SNYK-JS-SHOWDOWN-469487> (web)
- <https://www.npmjs.com/advisories/1302> (web)

## Sources

- GitHub Advisory Database: [GHSA-h6mq-3cj6-h738](https://github.com/advisories/GHSA-h6mq-3cj6-h738), CC-BY-4.0, modified 2021-10-01

---

Page: https://cve.day/GHSA-h6mq-3cj6-h738 · Whole record: https://cve.day/GHSA-h6mq-3cj6-h738.json · Rebuilt by cve.day 2026-11-25T22:56:45.550Z
