{"id":"GHSA-h6mq-3cj6-h738","aliases":["GHSA-h6mq-3cj6-h738"],"related":[],"kind":"vulnerability","state":"published","title":"Reverse Tabnabbing in showdown","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 1.9.1 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nUpgrade to version 1.9.1 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T23:21:16.000Z","modified":"2021-10-01T16:12:36.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"}],"cwes":["CWE-1022"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.1"}],"ecosystem":"npm","package":"showdown","purl":"pkg:npm/showdown","source":"ghsa"}],"references":[{"url":"https://github.com/showdownjs/showdown/pull/670","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/showdownjs/showdown/commit/1cd281f0643ef613dc1d36847d4c6cbb22501d91","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/showdownjs/showdown","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-SHOWDOWN-469487","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1302","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h6mq-3cj6-h738","url":"https://github.com/advisories/GHSA-h6mq-3cj6-h738","licence":"CC-BY-4.0","modified":"2021-10-01T16:12:36.000Z"}],"updatedAt":"2026-11-25T22:56:45.550Z"}