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
Update the vant package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.1.8
- Patched version(s): 2.1.8
References
Related Issues
- Cross-Site Scripting in jingo - Vulnerability
- html2pdf.js contains a cross-site scripting vulnerability - CVE-2026-22787
- CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package - CVE-2025-58064
- QMarkdown Cross-Site Scripting (XSS) vulnerability - CVE-2025-43954
You might also like:
- Tags:
- npm
- vant
Anything's wrong? Let us know Last updated on January 09, 2023


