Skip to content
Fencer Intel
high —

CVE-2016-1000228 json

DOM-based XSS in gmail-js

published 6y ago modified 3y ago also GHSA-c7pp-g2v2-2766

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no EPSS score yet
public exploits
0
none known

Summary

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.

Patch / fix

  • npm gmail-js 0.6.5

Is CVE-2016-1000228 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
npm gmail-js
<0.6.5
0.6.5

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.