Skip to content
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

[Snyk] Security upgrade terser-webpack-plugin from 5.3.9 to 5.3.11 #3171

Closed
wants to merge 1 commit into from

Conversation

q1blue
Copy link
Collaborator

@q1blue q1blue commented Dec 14, 2024

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/cli/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
  109  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Cross-site Scripting (XSS)

Summary by Sourcery

Bug Fixes:

  • Upgrade terser-webpack-plugin from version 5.3.9 to 5.3.11 to address a Cross-site Scripting (XSS) vulnerability.

Copy link

codesandbox bot commented Dec 14, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

restack-app bot commented Dec 14, 2024

No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews.

Copy link

sourcery-ai bot commented Dec 14, 2024

Reviewer's Guide by Sourcery

This is a security-focused dependency upgrade that updates terser-webpack-plugin from version 5.3.9 to 5.3.11 to address a Cross-site Scripting (XSS) vulnerability in the serialize-javascript dependency. The change is implemented through a simple version bump in the package.json file.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Dependency version upgrade to patch security vulnerability
  • Updated terser-webpack-plugin from ^5.1.3 to ^5.3.11
  • Addresses Cross-site Scripting (XSS) vulnerability with severity score of 109/1000
  • Fixes vulnerability SNYK-JS-SERIALIZEJAVASCRIPT-6147607
packages/cli/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@bcoe/[email protected] None 0 277 kB bcoe
npm/@istanbuljs/[email protected] None 0 17.2 kB coreyfarrell
npm/@mdx-js/[email protected] Transitive: environment, filesystem +4 1.02 MB johno
npm/@mdx-js/[email protected] None 0 3.95 kB johno
npm/@mrmlnc/[email protected] filesystem +1 71.5 kB mrmlnc
npm/@nodelib/[email protected] filesystem 0 22.2 kB mrmlnc
npm/@nodelib/[email protected] filesystem 0 11.8 kB mrmlnc
npm/@nodelib/[email protected] None 0 26.4 kB mrmlnc
npm/@storybook/[email protected] None 0 65.7 kB yannbf
npm/@testing-library/[email protected] environment 0 2.96 MB testing-library-bot
npm/@testing-library/[email protected] None 0 420 kB testing-library-bot
npm/@types/[email protected] None 0 12.3 kB types
npm/@types/[email protected] None 0 5.76 kB types
npm/@types/[email protected] None 0 861 kB types
npm/@types/[email protected] None 0 11.5 kB types
npm/@types/[email protected] None 0 20.4 kB types
npm/@types/[email protected] None 0 4.61 kB types
npm/[email protected] environment, filesystem, shell 0 15.4 kB fengmk2
npm/[email protected] environment 0 21.2 kB jonschlinkert
npm/[email protected] None 0 176 kB jessebeach
npm/[email protected] None 0 7.9 kB jonschlinkert
npm/[email protected] None 0 6.88 kB jonschlinkert
npm/[email protected] None 0 6.66 kB jonschlinkert
npm/[email protected] None +1 19.9 kB ljharb
npm/[email protected] None 0 2.88 kB sindresorhus
npm/[email protected] None 0 3.17 kB sindresorhus
npm/[email protected] None 0 3.57 kB sindresorhus
npm/[email protected] None 0 7.16 kB jonschlinkert
npm/[email protected] None 0 3.19 kB sindresorhus
npm/[email protected] None 0 5.85 kB phated
npm/[email protected] None 0 36.2 kB coolaj86
npm/[email protected] None 0 14.1 kB ljharb
npm/[email protected] None +1 8.02 kB johno
npm/[email protected] None 0 3.06 kB johno
npm/[email protected] None 0 4.3 kB wooorm
npm/[email protected] None 0 32.7 kB jonschlinkert
npm/[email protected] None 0 164 kB peterolson
npm/[email protected] filesystem 0 48.2 kB joeferner
npm/[email protected] filesystem, unsafe 0 35.9 kB oss-bot
npm/[email protected] None 0 16.4 kB jonschlinkert
npm/[email protected] None 0 7.83 kB limulus
npm/[email protected] None 0 4.05 kB stevenvachon
npm/[email protected] None +2 9.56 kB sindresorhus
npm/[email protected] None 0 4.5 kB wooorm
npm/[email protected] None 0 19 kB jonschlinkert
npm/[email protected] None 0 30.6 kB oss-bot
npm/[email protected] None 0 4.36 kB wooorm
npm/[email protected] None 0 6.85 kB jonschlinkert
npm/[email protected] None 0 8 kB nami-doc
npm/[email protected] None 0 4.15 kB jonschlinkert
npm/[email protected] None 0 4.98 kB isaacs
npm/[email protected] filesystem +1 18.1 kB sindresorhus
npm/[email protected] None 0 5.55 kB jamestalmage
npm/[email protected] None 0 2.94 kB sindresorhus
npm/[email protected] None 0 6.09 kB samverschueren
npm/[email protected] None 0 81.2 kB ljharb
npm/[email protected] None 0 4.1 kB sindresorhus
npm/[email protected] None 0 4.45 kB sindresorhus
npm/[email protected] None 0 10.7 kB doowb
npm/[email protected] None 0 5.04 kB wooorm
npm/[email protected] None 0 5.42 kB sindresorhus
npm/[email protected] None 0 269 kB eps1lon
npm/[email protected] None 0 18.1 kB ralphtheninja
npm/[email protected] environment, shell 0 57.5 kB sindresorhus
npm/[email protected] None 0 26 kB jonschlinkert
npm/[email protected] None +1 47.9 kB jonschlinkert
npm/[email protected] filesystem +1 97.7 kB mrmlnc
npm/[email protected] None 0 38.2 kB matteo.collina
npm/[email protected] None 0 13 kB ljharb
npm/[email protected] None 0 6.28 kB jonschlinkert
npm/[email protected] shell 0 9.4 kB bcoe
npm/[email protected] None 0 9.9 kB jonschlinkert
npm/[email protected] None 0 4.72 kB stefanpenner
npm/[email protected] None 0 1.94 kB sindresorhus
npm/[email protected] None 0 12.2 kB sindresorhus
npm/[email protected] None 0 3.71 kB jonschlinkert
npm/[email protected] None 0 18.1 kB nickfitzgerald
npm/[email protected] None 0 7.7 kB ljharb
npm/[email protected] None 0 7.86 kB jonschlinkert
npm/[email protected] None 0 7.62 kB jonschlinkert
npm/[email protected] None +1 21.4 kB jonschlinkert
npm/[email protected] None 0 18.3 kB wooorm
npm/[email protected] None +1 25.2 kB wooorm
npm/[email protected] None 0 15.6 kB wooorm
npm/[email protected] None 0 10.7 kB wooorm
npm/[email protected] None 0 13.1 kB webreflection
npm/[email protected] None 0 4.78 kB wooorm
npm/[email protected] None 0 44.3 kB ehmicky
npm/[email protected] None 0 48.9 kB kael
npm/[email protected] None 0 30.6 kB remarkablemark
npm/[email protected] None 0 9.37 kB jonschlinkert
npm/[email protected] None 0 4.59 kB feross
npm/[email protected] None 0 8.82 kB jonschlinkert
npm/[email protected] None 0 9.01 kB jonschlinkert
npm/[email protected] None 0 6.94 kB doowb
npm/[email protected] None 0 2.76 kB sindresorhus
npm/[email protected] None 0 3.69 kB sindresorhus
npm/[email protected] None 0 18.4 kB ljharb
npm/[email protected] None 0 4.34 kB wayfind
npm/[email protected] None 0 10.1 kB ljharb
npm/[email protected] None 0 15.1 kB ljharb
npm/[email protected] None 0 5.31 kB wooorm
npm/[email protected] None 0 7.96 kB jonschlinkert
npm/[email protected] None 0 5.07 kB wooorm
npm/[email protected] None 0 29.3 kB oss-bot
npm/[email protected] filesystem 0 37.5 kB coreyfarrell
npm/[email protected] None 0 292 kB oss-bot
npm/[email protected] None 0 3.81 kB joliss
npm/[email protected] None 0 4.56 kB sindresorhus
npm/[email protected] None 0 9.89 kB lukeed
npm/[email protected] None 0 23 kB lukeed
npm/[email protected] None +1 36.9 kB sindresorhus
npm/[email protected] None 0 25 kB jdalton
npm/[email protected] None 0 5.05 kB sindresorhus
npm/[email protected] None 0 176 kB pieroxy
npm/[email protected] None 0 7.6 kB jonschlinkert
npm/[email protected] None 0 8.47 kB jonschlinkert
npm/[email protected] None 0 5.19 kB wooorm
npm/[email protected] None 0 6.51 kB wooorm
npm/[email protected] None 0 9.19 kB wooorm
npm/[email protected] None 0 32.7 kB wooorm

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Dec 21, 2024
@github-actions github-actions bot closed this Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants