SharePoint / SharePoint/sp-dev-docs

SPFx 1.23.0: @microsoft/sp-adaptive-card-extension-base still resolves vulnerable transitive dependency swiper@8.4.7

Open
#10,899 2 comments 0 reactions 1 assignee View on GitHub

@Ashlesha-MSFT is already working on this.

Since Jun 12, 2026.

area:ACE sharepoint-developer-support type:bug-confirmed
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Category

Bug

Version

  • SPFx: 1.23.0
  • Node.js: 22.22.2
  • pnpm: 11.3.0

Describe the bug

While upgrading SPFx solutions to 1.23.0, I observed that @microsoft/sp-adaptive-card-extension-base@1.23.0 still resolves the transitive dependency swiper@8.4.7.

Image

In environments with vulnerability enforcement and dependency governance, this causes installation issues and requires consumers to maintain dependency overrides as a workaround.

Observed Behavior

The dependency graph resolves:

@microsoft/sp-adaptive-card-extension-base@1.23.0
└── swiper@8.4.7

During installation, the vulnerable Swiper version is still requested as part of the dependency tree.

To complete the installation successfully, an override is required:

pnpm:
overrides:
swiper: 12.1.3
(or another approved non-vulnerable version)

Expected Behavior

SPFx 1.23.0 packages should not depend on vulnerable package versions that require consumers to maintain manual overrides.

Ideally:

  • The dependency should be updated to a non-vulnerable Swiper version.
  • Or guidance should be provided if the current version is intentionally retained.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.