Need help updating rollup to fix DOM Clobbering vulnerability :( #139775
Replies: 4 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.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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 --forceWill 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