Skip to content
OpenAdvisories
Medium GHSA-r9q4-w3fm-wrm2

Cross-Site Scripting in google-closure-library

Published Sep 2, 2020 · Updated Sep 27, 2021 · Assigned by GHSA

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.

## Recommendation

Upgrade to version 20190301.0.0 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm google-closure-library < 20190301.0.0 20190301.0.0 GHSA-r9q4-w3fm-wrm2

References