原始 OSV JSON{
"id": "GHSA-c7pp-g2v2-2766",
"aliases": [
"CVE-2016-1000228"
],
"details": "Affected versions of `gmail-js` are vulnerable to cross-site scripting in the `tools.parse_response`, `helper.get.visible_emails_post`, and `helper.get.email_data_post` functions, which pass user input directly into the Function constructor.\n\n\n\n## Recommendation\n\nUpdate to version 0.6.5 or later.",
"summary": "DOM-based XSS in gmail-js",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.5"
}
]
}
],
"package": {
"name": "gmail-js",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 0.6.4"
}
}
],
"modified": "2021-09-23T21:31:53Z",
"severity": [],
"published": "2020-09-01T15:32:04Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1000228",
"type": "ADVISORY"
},
{
"url": "https://github.com/KartikTalwar/gmail.js/issues/281",
"type": "WEB"
},
{
"url": "https://github.com/KartikTalwar/gmail.js/commit/a83436f499f9c01b04280af945a5a81137b6baf1",
"type": "WEB"
},
{
"url": "https://github.com/KartikTalwar/gmail.js",
"type": "PACKAGE"
},
{
"url": "https://www.npmjs.com/advisories/125",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:11:40Z"
}
}