From ce53bd10f8ba83c8607b1b9c79fd7c125e1c8d3a Mon Sep 17 00:00:00 2001 From: Zack Isaacson Date: Mon, 2 Nov 2026 11:25:53 +0200 Subject: [PATCH] vuln(NSWG-ECO-125): fix vulnerable/fixed versions for gmail-js The fix shipped in gmail-js 0.6.5 (commit a83436f). GHSA-c7pp-g2v2-2766 uses the same range: <= 0.6.4 vulnerable, 0.6.5 first patched. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Ef3tjSwVeXjiCkE3i3Aopr Signed-off-by: Zack Isaacson --- vuln/npm/125.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vuln/npm/125.json b/vuln/npm/125.json index ea9d2799d..9379549c0 100644 --- a/vuln/npm/125.json +++ b/vuln/npm/125.json @@ -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", @@ -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",