UnratednpmAmendedPublished
DOM-based XSS in gmail-js
CVE-2016-1000228 · GHSA-c7pp-g2v2-2766
- Affected
- npm gmail-js <= 0.6.4
- Fixed in
- 0.6.5· Vendor fix available
- Issue
- Affected versions of gmail-js are vulnerable to cross-site scripting in the tools.parseresponse, helper.get.visibleemailspost, and helper.get.emaildatapost functions, which pass user input directly into the Function constructor. Recommendation Update to version 0.6.5 or later.
Recommended action: Upgrade to 0.6.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.