Need help updating rollup to fix DOM Clobbering vulnerability :( #139775
Replies: 3 comments 2 replies
-
Add this to your package.json file |
Beta Was this translation helpful? Give feedback.
-
here ismy package.json file : |
Beta Was this translation helpful? Give feedback.
-
If dropping alike libraries is not applicable for your use case: The essential cause is developers leveraged their handling to some external libraries: |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi everyone, i'm building my first application ever, but i'm encountering an issue:
When i run npm audit i get some issues shows (see at the bottom). I received a Dependabot alert about it: a DOM Clobbering vulnerability in rollup. The suggested fix is to update to version 3.29.5 or later.
Here is my current setup:
I've already updated the rollup version in my package.json file to 3.29.5, however, I'm still receiving the alert. . I also tried multiple time nmp audit fix --force but it only creats more issues.
Here is what i get when i run npm audit:
COMMAND: npm audit
npm audit report
rollup <3.29.5
Severity: high
DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS - GHSA-gcx4-mw62-g8wm
fix available via
npm audit fix --force
Will install vite-plugin-pwa@0.2.1, which is a breaking change
node_modules/workbox-build/node_modules/rollup
@rollup/plugin-babel <=5.3.1
Depends on vulnerable versions of @rollup/pluginutils
Depends on vulnerable versions of rollup
node_modules/workbox-build/node_modules/@rollup/plugin-babel
workbox-build >=5.0.0-alpha.0
Depends on vulnerable versions of @rollup/plugin-babel
Depends on vulnerable versions of @rollup/plugin-replace
Depends on vulnerable versions of rollup
node_modules/workbox-build
vite-plugin-pwa >=0.3.0
Depends on vulnerable versions of workbox-build
node_modules/vite-plugin-pwa
@rollup/plugin-replace <=4.0.0
Depends on vulnerable versions of @rollup/pluginutils
Depends on vulnerable versions of rollup
node_modules/workbox-build/node_modules/@rollup/plugin-replace
@rollup/pluginutils <=4.1.0
Depends on vulnerable versions of rollup
node_modules/workbox-build/node_modules/@rollup/pluginutils
6 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Beta Was this translation helpful? Give feedback.
All reactions