GHSA-9xr8-8hmc-389f
CRITICAL 9.1CVSS 3.1Cross-Site Scripting in vant
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vant | < 2.1.8 | 2.1.8 |
References
- https://github.com/youzan/vant/issues/4270 · WEB
- https://github.com/youzan/vant/pull/4278/commits/d777b78c7dc2c904f474d057ea88449cfe2ca13a · WEB
- https://snyk.io/vuln/SNYK-JS-VANT-460461 · WEB
- https://www.npmjs.com/advisories/1157 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Nov 2019)