Skip to content
OpenAdvisories
Critical · 9.1 GHSA-9xr8-8hmc-389f

Cross-Site Scripting in vant

Published Nov 22, 2019 · Updated Aug 18, 2021 · Assigned by GHSA

Description

Versions of `vant` prior to 2.1.8 are vulnerable to Cross-Site Scripting. The text value of the `Picker` component column is not sanitized, which may allow attackers to execute arbitrary JavaScript in a victim's browser.

## Recommendation

Upgrade to version 2.1.8 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm vant < 2.1.8 2.1.8 GHSA-9xr8-8hmc-389f

References