{"id":"GHSA-r9q4-w3fm-wrm2","aliases":[],"status":"published","title":"Cross-Site Scripting in google-closure-library","description":"Versions of `google-closure-library` prior to 20190301.0.0 are vulnerable to Cross-Site Scripting. The `safedomtreeprocessor.processToString()` function improperly processed empty elements, which could allow attackers to execute arbitrary JavaScript through Mutation Cross-Site Scripting.\n\n\n## Recommendation\n\nUpgrade to version 20190301.0.0 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-09-02T21:21:43Z","modified":"2023-01-09T05:03:48Z","fixes":[{"ecosystem":"npm","package":"google-closure-library","fixed_in":["20190301.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"google-closure-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20190301.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"google-closure-library","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"20190301.0.0"}]}]}],"references":[{"url":"https://github.com/google/closure-library/commit/c79ab48e8e962fee57e68739c00e16b9934c0ffa#commitcomment-33294853","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-GOOGLECLOSURELIBRARY-174519","tags":["web"]},{"url":"https://www.npmjs.com/advisories/878","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r9q4-w3fm-wrm2"},{"url":"https://github.com/google/closure-library","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-r9q4-w3fm-wrm2","title":"Cross-Site Scripting in google-closure-library","description":"Versions of `google-closure-library` prior to 20190301.0.0 are vulnerable to Cross-Site Scripting. The `safedomtreeprocessor.processToString()` function improperly processed empty elements, which could allow attackers to execute arbitrary JavaScript through Mutation Cross-Site Scripting.\n\n\n## Recommendation\n\nUpgrade to version 20190301.0.0 or later.","status":"published","published":"2020-09-02T21:21:43Z","modified":"2023-01-09T05:03:48Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:06.317379Z"}],"osv":[{"id":"GHSA-r9q4-w3fm-wrm2","title":"Cross-Site Scripting in google-closure-library","description":"Versions of `google-closure-library` prior to 20190301.0.0 are vulnerable to Cross-Site Scripting. The `safedomtreeprocessor.processToString()` function improperly processed empty elements, which could allow attackers to execute arbitrary JavaScript through Mutation Cross-Site Scripting.\n\n\n## Recommendation\n\nUpgrade to version 20190301.0.0 or later.","status":"published","published":"2020-09-02T21:21:43Z","modified":"2021-09-27T21:01:47Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:55.480549Z"}]}}
