CVE-2026-27212

Swiper has a Prototype Pollution Vulnerability

HIGH
7.8
CVSS Score
Published: February 21, 2026 at 05:43 AM UTC
Updated: June 17, 2026 at 10:26 AM UTC
2 products affected across 2 vendorsSwiperSwiper

Using swiper by nolimits4web?

Get instant alerts when new vulnerabilities affect swiper - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.5%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.5.1 ≤ v < 12.1.2

Fix versions

  • Outside the affected range from 12.1.2
    Our inference from the affected range (< 12.1.2)
v < 12.1.2

Fix versions

  • Outside the affected range from 12.1.2
    Our inference from the affected range (< 12.1.2)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1321

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE records are from the CVE Program (CVE.org).