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 #2413

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

Conversation

zencircle
Copy link
Contributor

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):

  • package.json
  • 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
critical severity Information Exposure
SNYK-JS-ELLIPTIC-8720086
  843  
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)

billhimmelsbach added a commit that referenced this pull request Mar 14, 2025
Based on dependabot vulnerabilities, we'll need to update two libraries: elliptic and jspdf. These are fairly minor updates, so we'll tackle them together.
This will resolve the following PRs:
#2318
#2317
#2413
and several dependabot alerts.

🚀 It's currently up on dev: `3.2.2f` 🚀

## Changes

- updates `elliptic` from `6.5.7` to `6.6.1`
- updates `jspdf` from `2.5.1` to `2.5.2`
- don't allow minor version updates to `jspdf`

## Testing

- [x] Search to see if updates to the deps have been tried before, but were blocking changes for some reason in issues, PRs, etc
- [x] Update package.json, run `yarn` to update the package.lock
- [x] Run e2e tests locally
- [x] Examine where these packages are used and ensure that these updates don't break anything not caught by e2e tests
- [x] If everything looks good, proceed. Otherwise, revise code and chat with @ojbravo 
- [x] Deploy changes to Dev via CLI, run e2e tests again and test everything
- [x] Get me admin access to this repo so I can make PRs, label and assign issues, etc.
- [ ] Create a PR and merge in the security updates
- [ ] Create a github release
- [ ] Deploy mLAR changes to Prod via CLI (based on how I understand things currently are working with the caching workaround, these changes won't be visible until a manual deploy is done) - use the same image that's on dev
- [ ] Test things out with the team, confirm e2e tests pass (wait till they run automatically or trigger manually)
- [ ] 🥳

Closes #2418
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