Description
A prototype pollution vulnerability exists in the the npm package swiper (>=6.5.1, < 12.1.2). Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using Array.prototype.
Recommendation
Update the swiper package to the latest compatible version. Followings are version details:
- Affected version(s): >= 6.5.1, < 12.1.2
- Patched version(s): 12.1.2
References
Could your website be exposed too?
SmartScanner can check your website for Prototype pollution in swiper - swiper and gives you actionable findings to investigate.
Start a free scanRelated Issues
- LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set( - CVE-2026-40190
- Deep Merge is Vulnerable to Prototype Pollution Through Lack of Sanitization - CVE-2026-6594
- Axios: Prototype pollution auth subfields can inject Basic auth - CVE-2026-67314
- Mermaid configuration APIs allow prototype pollution - CVE-2026-71438


