Affected versions
npmgmail-js
- Affected versions
- <= 0.6.4
- Fixed version
- 0.6.5
Description
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.
Recommendation
Update to version 0.6.5 or later.
Links
- https://github.com/KartikTalwar/gmail.js
- https://github.com/KartikTalwar/gmail.js/commit/a83436f499f9c01b04280af945a5a81137b6baf1
- https://github.com/KartikTalwar/gmail.js/issues/281
- https://github.com/advisories/GHSA-c7pp-g2v2-2766
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000228
- https://www.npmjs.com/advisories/125

