Skip to content

npm audit: DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS #13758

@mozeryansky

Description

@mozeryansky

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

8.31.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

When I run npm audit the suggestion is to download Sentry.

rollup  <3.29.5
Severity: high
DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS - https://github.com/advisories/GHSA-gcx4-mw62-g8wm
fix available via `npm audit fix --force`
Will install @sentry/nextjs@7.11.1, which is a breaking change
node_modules/rollup
  @sentry/nextjs  >=7.12.0
  Depends on vulnerable versions of rollup
  node_modules/@sentry/nextjs

Steps to Reproduce

  1. npm i @sentry/nextjs@latest
  2. npm audit

Expected Result

No security issues

Actual Result

Image

Metadata

Metadata

Assignees

Labels

BugPackage: nextjsIssues related to the Sentry Nextjs SDK

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions