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