Skip to content

swiper-11.0.4.tgz: 1 vulnerabilities (highest severity is: 9.3) - autoclosed #333

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - swiper-11.0.4.tgz

Library home page: https://registry.npmjs.org/swiper/-/swiper-11.0.4.tgz

Path to dependency file: /src/main/vue/package.json

Path to vulnerable library: /src/main/vue/package.json

Found in HEAD commit: de4579e3eb742e6069649be650bd2841e1ec1383

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (swiper version) Remediation Possible**
CVE-2026-27212 Critical 9.3 swiper-11.0.4.tgz Direct https://github.com/nolimits4web/swiper.git - v12.1.2

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-27212

Vulnerable Library - swiper-11.0.4.tgz

Library home page: https://registry.npmjs.org/swiper/-/swiper-11.0.4.tgz

Path to dependency file: /src/main/vue/package.json

Path to vulnerable library: /src/main/vue/package.json

Dependency Hierarchy:

  • swiper-11.0.4.tgz (Vulnerable Library)

Found in HEAD commit: de4579e3eb742e6069649be650bd2841e1ec1383

Found in base branch: main

Vulnerability Details

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.

Publish Date: 2026-02-21

URL: CVE-2026-27212

CVSS 3 Score Details (9.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-02-21

Fix Resolution: https://github.com/nolimits4web/swiper.git - v12.1.2

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions