fix(deps): update dependency swiper to v12 [security] - #560
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
4 times, most recently
from
March 5, 2026 22:41
17973a3 to
045bee7
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
2 times, most recently
from
March 13, 2026 22:12
1779ff7 to
52dcd52
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
2 times, most recently
from
March 26, 2026 21:58
c017c98 to
431a8b9
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
2 times, most recently
from
March 30, 2026 17:45
431a8b9 to
70abbcd
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
6 times, most recently
from
April 22, 2026 01:57
953ddf4 to
3603df1
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
4 times, most recently
from
April 30, 2026 05:02
d0cc86f to
4a7ceb4
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
2 times, most recently
from
April 30, 2026 18:16
a0083fa to
0fd728e
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
3 times, most recently
from
May 14, 2026 18:12
ad1819c to
5290ec9
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
2 times, most recently
from
June 19, 2026 00:14
4b0d5ce to
44a24a0
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 12, 2026 11:43
44a24a0 to
5e3b84c
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 12, 2026 18:11
5e3b84c to
a869079
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 16, 2026 18:17
a869079 to
0896ee7
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 17, 2026 08:47
0896ee7 to
5986ac9
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 21, 2026 01:12
5986ac9 to
f1aacfb
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 21, 2026 06:47
f1aacfb to
5d5227b
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 25, 2026 19:35
5d5227b to
b93fdf7
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 25, 2026 20:59
b93fdf7 to
7e1659b
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
July 30, 2026 17:43
7e1659b to
3cf1382
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
August 1, 2026 17:48
3cf1382 to
c643087
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
August 12, 2026 01:45
c643087 to
9e3fa01
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
August 16, 2026 12:33
9e3fa01 to
c89961f
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
August 29, 2026 05:58
c89961f to
4515d1e
Compare
renovate
Bot
force-pushed
the
renovate/npm-swiper-vulnerability
branch
from
August 29, 2026 09:32
4515d1e to
26ed7d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.1.0→^12.1.2Prototype pollution in swiper
CVE-2026-27212 / GHSA-hmx5-qpq5-p643
More information
Details
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.prototypevia 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.2Details
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
Expected behavior
Prototype pollution should be prevented and {} should not gain new properties.
This should be printed on the console:
Actual behavior
Object.prototype is polluted
This is printed on the console:
Impact
This is a prototype pollution vulnerability, which can have severe security implications depending on how swiper is used by downstream applications. Any application that processes attacker-controlled input using this package may be affected.
It could potentially lead to the following problems:
Array.prototype.indexOfproperty can result in crash when swiper.default.extendDefaults is called because swiper makes use of this global property. This can lead to Denial of Service.Related CVEs
CVE-2026-25521
CVE-2026-25047
CVE-2026-26021
Severity
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
nolimits4web/Swiper (swiper)
v12.1.2Compare Source
v12.1.1Compare Source
Bug Fixes
v12.1.0Compare Source
Bug Fixes
data-swiper-slide-indexforrealIndexwhen virtual module is enabled (#8142) (bd957f8)autoScrolltothumbs.updatetype signature (#8146) (5d91e6e)Features
v12.0.3Compare Source
Bug Fixes
Features
v12.0.2Compare Source
Features
addIconsparameter to add SVG icons to nav buttons (b955b0c), closes #8088 #8087v12.0.1Compare Source
Bug Fixes
v12.0.0Compare Source
Bug Fixes
Features
v11.2.10Compare Source
Bug Fixes
v11.2.9Compare Source
Bug Fixes
v11.2.8Compare Source
Bug Fixes
v11.2.7Compare Source
Bug Fixes
effectparam type (#7945) (42eec07)v11.2.6Compare Source
Bug Fixes
v11.2.5Compare Source
Bug Fixes
zoom.in()function (#7904) (f7febe1)Features
v11.2.4Compare Source
Bug Fixes
v11.2.3Compare Source
Bug Fixes
Features
v11.2.2Compare Source
Bug Fixes
v11.2.1Compare Source
Bug Fixes
v11.2.0Compare Source
Bug Fixes
Features
v11.1.15Compare Source
Bug Fixes
slidesEl,slidesGrid, andslidesSizesGrid(#7768) (fb59a41)v11.1.14Compare Source
Bug Fixes
v11.1.12Compare Source
Bug Fixes
Features
containerRoleparameter (#7708) (1542c01)v11.1.11Compare Source
Bug Fixes
v11.1.10Compare Source
Bug Fixes
v11.1.9Compare Source
Bug Fixes
Features
v11.1.8Compare Source
Bug Fixes
v11.1.7Compare Source
Bug Fixes
v11.1.6Compare Source
Bug Fixes
Features
scrollOnFocus(#7632) (f4f7da0)v11.1.5Compare Source
Bug Fixes
v11.1.4Compare Source
Bug Fixes
v11.1.3Compare Source
Bug Fixes
v11.1.2Compare Source
Bug Fixes
Performance Improvements
v11.1.1Compare Source
Bug Fixes
slidesEl,slidesGrid, andslidesSizesGrid(#7768) (fb59a41)v11.1.0Compare Source
Bug Fixes
v11.0.7Compare Source
Bug Fixes
Features
v11.0.6Compare Source
Bug Fixes
Features
v11.0.5Compare Source
Bug Fixes
Features
slidesUpdatedevent (8a0c7c4)v11.0.4Compare Source
Bug Fixes
v11.0.3Compare Source
Bug Fixes
v11.0.2Compare Source
Bug Fixes
v11.0.1Compare Source
Bug Fixes
v11.0.0Compare Source
Bug Fixes
Features
loopAddBlankSlidesparameter (b5db223)loopedSlidesparameter, addloopAdditionalSlidesparameter (d647985)eventPrefixparameter default toswiper(88d463a)hidden(88941a8)v10.3.1Compare Source
Bug Fixes
v10.3.0Compare Source
Bug Fixes
realIndexChangeon initialIndex if runCallbacksOnInit is disalbed (48c4e0a), closes #6976slideToClickedSlidewhen using Element slide slots (af0519c), closes #6958hashchangeevent (106a3d7), closes #6943Features
{enabled: true}(abf8405)v10.2.0Compare Source
Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.