{"cve":"CVE-2026-27212","nvd":{"published":"2026-02-21T06:17:01.443","modified":"2026-06-17T10:26:51.280","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-1321"],"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"],"products":["swiperjs:swiper"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27212","score":0.00486,"percentile":0.41824,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hmx5-qpq5-p643","url":"https://osv.dev/vulnerability/GHSA-hmx5-qpq5-p643","summary":"Prototype pollution in swiper","modified":"2026-02-23T23:43:45.164776Z","packages":[{"ecosystem":"npm","name":"swiper","purl":"pkg:npm/swiper","ranges":[">=6.5.1 <12.1.2"],"fixed":["12.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}