PT-2026-21358 · Swiper · Swiper
Kevgeoleo
+2
·
Published
2026-02-19
·
Updated
2026-05-19
·
CVE-2026-27212
CVSS v4.0
9.4
Critical
| Vector | AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
Swiper versions 6.5.1 through 12.1.1
Description
Swiper is a free and mobile touch slider with hardware accelerated transitions and native behavior. A prototype pollution issue exists in the
shared/utils.mjs file, specifically at line 94, where the indexOf() function is used to validate user-provided input. Despite a prior attempt to address prototype pollution by checking for forbidden keys, it remains possible to pollute Object.prototype using a crafted input leveraging Array.prototype. This issue impacts Windows and Linux systems, as well as Node and Bun runtimes. Applications processing attacker-controlled input with this package may be susceptible to Authentication Bypass, Denial of Service, and Remote Code Execution (RCE).Recommendations
Update to version 12.1.2 to resolve this issue.
Exploit
Fix
DoS
RCE
Prototype Pollution
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Swiper