Skip to content

DOM-based XSS in gmail-js

High severity GitHub Reviewed Published Sep 1, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm gmail-js (npm)

Affected versions

<= 0.6.4

Patched versions

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 1, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

CVE-2016-1000228

GHSA ID

GHSA-c7pp-g2v2-2766

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.