Security Resilience

CVE-2026-27212

Swiperjs Swiper 6.5.1 – 12.1.2

Public PoC
Published
21 February 2026
Modified
24 February 2026
Patch / advisory
CVSS Score v4 9.4
Click a component to see what it means
Raw vectorCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0063 45th percentile
Risk Priority 39 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-27212 is a critical-severity Prototype Pollution (CWE-1321) vulnerability in Swiperjs Swiper. Its CVSS base score is 9.4 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 45th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-27212 is a prototype pollution vulnerability in Swiper, a free and mobile touch slider library with hardware accelerated transitions and native behavior. The flaw affects versions 6.5.1 through 12.1.1 and resides in line 94 of shared/utils.mjs, where the indexOf() function checks user-provided input for forbidden strings. A prior fix intended to block prototype pollution by detecting forbidden keys proved insufficient, as crafted input leveraging Array.prototype can still pollute Object.prototype.

The vulnerability requires local access (AV:L) with low privileges (PR:L) and low complexity (AC:L), earning a CVSS v3.1 base score of 7.8 (C:H/I:H/A:H/S:U/UI:N). Local attackers can exploit it in any application processing attacker-controlled input with the affected Swiper versions, potentially achieving authentication bypass, denial of service, or remote code execution. The exploit works across Windows and Linux on Node.js and Bun runtimes.

Swiper version 12.1.2 addresses the issue. The GitHub security advisory (GHSA-hmx5-qpq5-p643), release notes for v12.1.2, and fixing commit (d3e663322a13043ca63aaba235d8cf3900e0c8cf) provide details on the patch and recommend upgrading immediately. This corresponds to CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes).

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-39853Same product: Swiperjs Swiper
CVE-2024-39000Same product: Swiperjs Swiper
CVE-2024-38997Same product: Swiperjs Swiper
CVE-2026-31865Shared CWE-1321
CVE-2024-36582Shared CWE-1321
CVE-2026-57926Shared CWE-1321
CVE-2025-55195Shared CWE-1321
CVE-2023-26132Shared CWE-1321
CVE-2026-97151Shared CWE-1321
CVE-2025-62381Shared CWE-1321

Affected Assets

swiperjs
swiper
6.5.1 — 12.1.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V15.3.6

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and safe property assignment to prevent prototype pollution.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches prototype-pollution flaws before release.

prevents

Secure coding standards directly prohibit unsafe prototype attribute assignment and require defensive checks.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software weaknesses in delivered code the way those practices do; prototype pollution is such a weakness, but the clause's ceiling on `prevents` is `partial` because the effect depends on the supplier's implementation of secure coding and testing.

blocks

Change-management processes ensure security fixes for prototype-pollution issues are tracked and deployed.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Prototype pollution does commonly surface as CVEs in third-party libraries (lodash, jQuery, etc., as the observed examples show), so A.8.8 finds those. But most prototype pollution lives in first-party JavaScript code that nobody publishes an advisory about, and that share is invisible to A.8.8's disclosure-based programme — the same scope seam that put A.8.8 -> CWE-89 at `partial`.

References