-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High-severity vulnerability due to outdated 'Rollup' dependency #13767
Comments
By adding the latest 'rollup' version (4.22.4) to "overrides" section of my package.json and resetting node_modules, I was able to resolve the npm audit warning related to the outdated rollup version: |
This should be fixed by #13761! |
#13761 updates the version on main but does not actually release Btw - why is rollup in |
The npm vulnerability warning appears once |
Why did Sentry use fixed dependency versions.
|
@its-anas Whoops, my message was unclear - "your" referred to Sentry in this case - I'm a user, in the same boat as you. Edited the comment, sorry for the confusion. |
Issue is fixed, |
Is this something that could get bumped in v7? Not a big deal, seems safe to set the resolution for us at the time being. |
It would be nice to get it bumped in v7 also |
+1 for back-porting to v7 please. I am unable to use v8 for a variety of reasons |
@tomasz-sodzawiczny it's needed by the runtime code, see sentry-javascript/packages/nextjs/src/config/loaders/wrappingLoader.ts Lines 239 to 240 in 2f53df7
|
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.30.0
Framework Version
sentry/nextjs: 8.30.0, next: 14.2.12
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
npm ls rollup
to check dependency versions.Expected Result
The latest version of @sentry/nextjs should use a non-vulnerable version of rollup, preferably >=3.29.5 or later.
Actual Result
@sentry/nextjs depends on rollup@2.78.0 through sub-dependencies, which is flagged by npm audit for a high-severity XSS vulnerability.
The text was updated successfully, but these errors were encountered: