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] Fix for 2 vulnerabilities #7152

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

YounixM
Copy link
Member

@YounixM YounixM commented Feb 19, 2025

snyk-top-banner

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

Snyk changed the following file(s):

  • frontend/package.json
  • frontend/yarn.lock

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.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
  626  
low severity Cross-site Scripting (XSS)
SNYK-JS-DOMPURIFY-8722251
  493  

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)


Important

Upgrade dompurify and webpack in frontend/package.json to fix XSS vulnerabilities.

  • Dependencies:
    • Upgrade dompurify from 3.1.3 to 3.2.4 in frontend/package.json and frontend/yarn.lock.
    • Upgrade webpack from 5.94.0 to 5.98.0 in frontend/package.json and frontend/yarn.lock.
  • Vulnerabilities:
    • Fixes Cross-site Scripting (XSS) vulnerabilities identified by Snyk in dompurify and webpack.

This description was created by Ellipsis for ac35e4f. It will automatically update as commits are pushed.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added the bug Something isn't working label Feb 19, 2025
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to ac35e4f in 1 minute and 2 seconds

More details
  • Looked at 22 lines of code in 1 files
  • Skipped 1 files when reviewing.
  • Skipped posting 4 drafted comments based on config settings.
1. frontend/package.json:71
  • Draft comment:
    Upgrade dompurify from 3.1.3 to 3.2.4 to address XSS vulnerability. Ensure compatibility with existing usage.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 50% <= threshold 50%
    This comment is about upgrading a dependency to address a security vulnerability. However, it also asks to ensure compatibility, which violates the rule against asking the PR author to ensure things. The part about ensuring compatibility should be removed.
2. frontend/package.json:130
  • Draft comment:
    Upgrade webpack from 5.94.0 to 5.98.0 as part of security fixes. Verify plugin compatibility after update.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50%
    This comment is related to a dependency change, specifically an upgrade of webpack. The comment also asks the PR author to verify plugin compatibility, which is against the rules of asking for confirmation or verification. Therefore, this comment should be removed.
3. frontend/package.json:71
  • Draft comment:
    Upgrade DomPurify to 3.2.4 to address the XSS vulnerability (SNYK-JS-DOMPURIFY-8722251). Verify that any custom sanitization options remain compatible.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None
4. frontend/package.json:130
  • Draft comment:
    Upgrade webpack to 5.98.0 to fix the serialize-javascript vulnerability (SNYK-JS-SERIALIZEJAVASCRIPT-6147607). Please double-check webpack config compatibility.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50%
    None

Workflow ID: wflow_BOrFwsLPl5aBYOME


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants