{"id":"CVE-2026-27212","state":"PUBLISHED","title":"Swiper has a Prototype Pollution Vulnerability","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.","publishedAt":"2026-02-21T05:43:07.072Z","updatedAt":"2026-02-24T18:53:04.131Z","severity":{"score":9.4,"label":"Critical","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["nolimits4web swiper"],"affected":[{"vendor":"nolimits4web","product":"swiper","versions":[{"version":">= 6.5.1, < 12.1.2","status":"affected"}]}],"references":["https://github.com/nolimits4web/swiper/security/advisories/GHSA-hmx5-qpq5-p643","https://github.com/nolimits4web/swiper/commit/d3e663322a13043ca63aaba235d8cf3900e0c8cf","https://github.com/nolimits4web/swiper/releases/tag/v12.1.2"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27212.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27212","state":"PUBLISHED","datePublished":"2026-02-21T05:43:07.072Z","dateUpdated":"2026-02-24T18:53:04.131Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-18T19:47:02.156Z"},"containers":{"cna":{"title":"Swiper has a Prototype Pollution Vulnerability","descriptions":[{"lang":"en","value":"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":[{"vendor":"nolimits4web","product":"swiper","versions":[{"version":">= 6.5.1, < 12.1.2","status":"affected"}]}],"references":[{"url":"https://github.com/nolimits4web/swiper/security/advisories/GHSA-hmx5-qpq5-p643","name":"https://github.com/nolimits4web/swiper/security/advisories/GHSA-hmx5-qpq5-p643","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nolimits4web/swiper/commit/d3e663322a13043ca63aaba235d8cf3900e0c8cf","name":"https://github.com/nolimits4web/swiper/commit/d3e663322a13043ca63aaba235d8cf3900e0c8cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/nolimits4web/swiper/releases/tag/v12.1.2","name":"https://github.com/nolimits4web/swiper/releases/tag/v12.1.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-21T05:43:07.072Z"},"source":{"advisory":"GHSA-hmx5-qpq5-p643","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-24T18:52:46.035771Z","id":"CVE-2026-27212","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-24T18:53:04.131Z"}}]}}}