CVE-2026-27212
CVE-2026-27212 is a high-severity vulnerability in Swiperjs Swiper with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1321.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v4: 9.4
- EPSS exploit prediction: 0% (32nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-7728
- Weakness: CWE-1321
- Affected product: Swiperjs Swiper
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-27212?
- 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.
- How severe is CVE-2026-27212?
- CVE-2026-27212 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-27212 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (32nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-27212?
- CVE-2026-27212 affects Swiperjs Swiper. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-27212?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-27212 have an EU (EUVD) identifier?
- Yes. CVE-2026-27212 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-7728.
- When was CVE-2026-27212 published?
- CVE-2026-27212 was published on 2026-02-21 and last updated on 2026-06-17.
References
- https://github.com/nolimits4web/swiper/commit/d3e663322a13043ca63aaba235d8cf3900e0c8cf
- https://github.com/nolimits4web/swiper/releases/tag/v12.1.2
- https://github.com/nolimits4web/swiper/security/advisories/GHSA-hmx5-qpq5-p643
Affected products (1)
- cpe:2.3:a:swiperjs:swiper:*:*:*:*:*:node.js:*:*
More vulnerabilities in Swiperjs Swiper
- CVE-2021-23370 — High (CVSS 7.5): This affects the package swiper before 6.5.1.
- CVE-2024-39853 — Medium (CVSS 6.5): adolph_dudu ratio-swiper 0.0.2 was discovered to contain a prototype pollution via the function parse. This…
- CVE-2024-39000 — Medium (CVSS 6.5): adolph_dudu ratio-swiper v0.0.2 was discovered to contain a prototype pollution via the function parse. This…
- CVE-2024-38997 — Medium (CVSS 6.5): adolph_dudu ratio-swiper v0.0.2 was discovered to contain a prototype pollution via the function extendDefaults. This…
All CVEs affecting Swiperjs Swiper →
Other CWE-1321 (Prototype Pollution) vulnerabilities
- CVE-2026-25142 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__…
- CVE-2024-39008 — Critical (CVSS 10.0): robinweser fast-loops v1.1.3 was discovered to contain a prototype pollution via the function objectMergeDeep. This…
- CVE-2024-38999 — Critical (CVSS 10.0): jrburke requirejs v2.3.6 was discovered to contain a prototype pollution via the function s.contexts._.configure. This…
- CVE-2022-29823 — Critical (CVSS 10.0): Feather-Sequalize cleanQuery method uses insecure recursive logic to filter unsupported keys from the query object.…
- CVE-2022-24760 — Critical (CVSS 10.0): Parse Server is an open source http web server backend. In versions prior to 4.10.7 there is a Remote Code Execution…
- CVE-2020-12079 — Critical (CVSS 10.0): Beaker before 0.8.9 allows a sandbox escape, enabling system access and code execution. This occurs because Electron…