Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions vuln/npm/125.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": 125,
"created_at": "2016-07-21",
"updated_at": "2017-02-10",
"updated_at": "2026-11-02",
"title": "DOM-based XSS",
"author": {
"name": "Gursev Singh Kalra",
Expand All @@ -13,12 +13,14 @@
"cves": [
"CVE-2016-1000228"
],
"vulnerable_versions": "<=99.999.99999",
"patched_versions": "<0.0.0",
"vulnerable_versions": "<=0.6.4",
"patched_versions": ">=0.6.5",
"overview": "gmail-js is a client side library for interacting with the Gmail API.\n\nThree functions exposed by the Gmail.js API (not the Google Gmail API) are vulnerable to [DOM-based cross site scripting](https://www.owasp.org/index.php/DOM_Based_XSS) (DOMXSS). The three functions are `tools.parse_response`, `helper.get.visible_emails_post`, and `helper.get.email_data_post`. Each one of these functions calls `new Function()` with user data passed as the argument.\n\nThis vulnerability is being disclosed before a public patched version is available because the issue was reported in a public Github issue.",
"recommendation": "Since there is no public patch yet available, it may be best to avoid using these functions altogether for the time being.",
"recommendation": "Update to version 0.6.5 or greater.",
"references": [
"https://github.com/KartikTalwar/gmail.js/issues/281",
"https://github.com/KartikTalwar/gmail.js/commit/a83436f499f9c01b04280af945a5a81137b6baf1",
"https://github.com/advisories/GHSA-c7pp-g2v2-2766",
"https://www.owasp.org/index.php/DOM_Based_XSS"
],
"cvss_vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
Expand Down