Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. gmail-js
  4. ›
  5. CVE-2016-1000228

CVE-2016-1000228: DOM-based XSS

July 21, 2016

Three functions exposed by the Gmail.js API (not the Google Gmail API) are vulnerable to DOM-based cross site scripting (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.

References

  • github.com/KartikTalwar/gmail.js/issues/281
  • www.owasp.org/index.php/DOM_Based_XSS

Code Behaviors & Features

Detect and mitigate CVE-2016-1000228 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.6.5

Fixed versions

  • 0.6.5

Solution

Upgrade to version 0.6.5 or above.

Source file

npm/gmail-js/CVE-2016-1000228.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:55 +0000.