In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.
Start learningUpgrade gmail-js to version 0.6.5 or higher.
gmail-js is a client side library for interacting with the Gmail API.
As part of its execution, the library dynamically creates functions out of response data, loaded into a new Function(data) call, and executes the function. The response data read is not encoded and may include user content (e.g. from the emails themselves), thus exposing a DOM-Based Cross-Site Scripting (DOMXSS) vulnerability.
At least three functions perform this vulnerable flow: tools.parse_response, helper.get.visible_emails_post, and helper.get.email_data_post.
<>