Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/swiper@6.5.1
purl pkg:npm/swiper@6.5.1
Next non-vulnerable version 12.1.2
Latest non-vulnerable version 12.1.2
Risk 4.5
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-x6q6-ya3y-wqbm
Aliases:
CVE-2026-27212
GHSA-hmx5-qpq5-p643
Swiper is a free and mobile touch slider with hardware accelerated transitions and native behavior. Versions 6.5.1 through 12.1.1 have a Prototype pollution vulnerability. The vulnerability resides in line 94 of shared/utils.mjs, where the indexOf() function is used to check whether user provided input contain forbidden strings. 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. The exploit works across Windows and Linux and on Node and Bun runtimes. Any application that processes attacker-controlled input using this package may be affected by the following: Authentication Bypass, Denial of Service and RCE. This issue is fixed in version 12.1.2.
12.1.2
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-rrnd-xmhu-hfgc CVE-2021-23370
GHSA-p3hc-fv2j-rp68

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T06:22:40.152435+00:00 GHSA Importer Fixing VCID-rrnd-xmhu-hfgc https://github.com/advisories/GHSA-p3hc-fv2j-rp68 38.6.0
2026-06-12T17:37:00.917332+00:00 GitLab Importer Fixing VCID-rrnd-xmhu-hfgc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/swiper/CVE-2021-23370.yml 38.6.0
2026-06-12T15:50:31.077993+00:00 GitLab Importer Affected by VCID-x6q6-ya3y-wqbm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/swiper/CVE-2026-27212.yml 38.6.0
2026-06-12T08:07:07.005989+00:00 GithubOSV Importer Fixing VCID-rrnd-xmhu-hfgc https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-p3hc-fv2j-rp68/GHSA-p3hc-fv2j-rp68.json 38.6.0
2026-06-11T20:38:03.961617+00:00 GHSA Importer Affected by VCID-x6q6-ya3y-wqbm https://github.com/advisories/GHSA-hmx5-qpq5-p643 38.6.0