GHSA-hmx5-qpq5-p643
- Severity
- Critical
- CVSS
- Not a CVSS v3 vector
- CISA KEV
- Not in the cached KEV catalog
- EPSS
- No cached EPSS score
Affected and fixed versions
- Introduced 6.5.1 · fixed in 12.1.2
The latest published version is not inside an affected range, or OSV lists no fix for it.
Plain-language text is shown only when it is already cached. This page does not generate it.
Prototype pollution in swiper
### Summary A prototype pollution vulnerability exists in the the npm package swiper (>=6.5.1, < 12.1.2). 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. This issue is fixed in version 12.1.2 ### Details The vulnerability resides in line 94 of shared/utils.mjs where indexOf() function is used to check whether user provided input contain forbidden strings. ### PoC #### Steps to reproduce 1. Install latest version of swiper using npm install 2. Ru…
Aliases: CVE-2026-27212
Advisory on OSV.dev · published 2026-02-19 · modified 2026-02-23
- https://github.com/nolimits4web/swiper/security/advisories/GHSA-hmx5-qpq5-p643
- https://nvd.nist.gov/vuln/detail/CVE-2026-27212
- https://github.com/nolimits4web/swiper/commit/d3e663322a13043ca63aaba235d8cf3900e0c8cf
- https://github.com/nolimits4web/swiper
- https://github.com/nolimits4web/swiper/releases/tag/v12.1.2