{"id":"GHSA-h6mq-3cj6-h738","summary":"Reverse Tabnabbing in showdown","details":"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.","modified":"2021-10-01T16:12:36Z","published":"2020-09-03T23:21:16Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:54:24Z","nvd_published_at":null,"cwe_ids":["CWE-1022"]},"references":[{"type":"WEB","url":"https://github.com/showdownjs/showdown/pull/670"},{"type":"WEB","url":"https://github.com/showdownjs/showdown/commit/1cd281f0643ef613dc1d36847d4c6cbb22501d91"},{"type":"PACKAGE","url":"https://github.com/showdownjs/showdown"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SHOWDOWN-469487"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1302"}],"affected":[{"package":{"name":"showdown","ecosystem":"npm","purl":"pkg:npm/showdown"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-h6mq-3cj6-h738/GHSA-h6mq-3cj6-h738.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"}]}