Skip to content

Conversation

lots0logs
Copy link
Member

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • packages/divi-scripts/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-12704893
  788  
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-12761655
  788  

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:

🦉 Server-side Request Forgery (SSRF)

@Copilot Copilot AI review requested due to automatic review settings September 17, 2025 06:56
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This is a security upgrade PR that updates webpack-dev-server from version 2.11.0 to 4.8.0 to address two high-severity Server-side Request Forgery (SSRF) vulnerabilities in the IP package dependency.

  • Updates webpack-dev-server dependency to fix security vulnerabilities
  • Addresses SSRF vulnerabilities with severity score of 788 each
  • Represents a major version upgrade that may include breaking changes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"thread-loader": "1.1.2",
"uglifyjs-webpack-plugin": "1.1.6",
"url-loader": "0.6.2",
"webpack": "3.10.0",
Copy link

Copilot AI Sep 17, 2025

Choose a reason for hiding this comment

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

This is a major version upgrade from 2.11.0 to 4.8.0 which likely includes breaking changes. The webpack version (3.10.0) on line 70 may be incompatible with webpack-dev-server 4.8.0, which typically requires webpack 4 or 5. This could cause build failures or runtime issues.

Suggested change
"webpack": "3.10.0",
"webpack": "^4.46.0",

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants