{"id":"GHSA-9xr8-8hmc-389f","summary":"Cross-Site Scripting in vant","details":"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.\n\n\n## Recommendation\n\nUpgrade to version 2.1.8 or later.","modified":"2021-08-18T22:47:15Z","published":"2019-11-22T13:45:33Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-11-21T04:18:24Z"},"references":[{"type":"WEB","url":"https://github.com/youzan/vant/issues/4270"},{"type":"WEB","url":"https://github.com/youzan/vant/pull/4278/commits/d777b78c7dc2c904f474d057ea88449cfe2ca13a"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-VANT-460461"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1157"}],"affected":[{"package":{"name":"vant","ecosystem":"npm","purl":"pkg:npm/vant"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-9xr8-8hmc-389f/GHSA-9xr8-8hmc-389f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}