[PR #2] [MERGED] [Snyk] Fix for 7 vulnerabilities #2

Closed
opened 2026-11-13 17:47:52 +01:00 by Alvin-Zilverstand · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Alvin-Zilverstand/Challenge_15_Magazijn_App_Maken/pull/2
Author: @Alvin-Zilverstand
Created: 5/21/2026
Status: ✅ Merged
Merged: 5/21/2026
Merged by: @Alvin-Zilverstand

Base: main ← Head: snyk-fix-71500c35fbc168a737867a5d2510b721


📝 Commits (1)

  • fdc61bc fix: package.json & package-lock.json to reduce vulnerabilities

📊 Changes

2 files changed (+48 additions, -62 deletions)

View changed files

📝 package-lock.json (+45 -59)
📝 package.json (+3 -3)

📄 Description

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity NULL Pointer Dereference
SNYK-JS-QS-16721866
  ****  
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-QS-14724253
  756  
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-QS-15268416
  731  
high severity Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
SNYK-JS-MONGOOSE-16425765
  696  
high severity Missing Release of Resource after Effective Lifetime
SNYK-JS-MULTER-15365916
  649  
high severity Incomplete Cleanup
SNYK-JS-MULTER-15365918
  649  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-15789761
  559  

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:

🦉 Regular Expression Denial of Service (ReDoS)
🦉 Allocation of Resources Without Limits or Throttling
🦉 NULL Pointer Dereference


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Alvin-Zilverstand/Challenge_15_Magazijn_App_Maken/pull/2 **Author:** [@Alvin-Zilverstand](https://github.com/Alvin-Zilverstand) **Created:** 5/21/2026 **Status:** ✅ Merged **Merged:** 5/21/2026 **Merged by:** [@Alvin-Zilverstand](https://github.com/Alvin-Zilverstand) **Base:** `main` ← **Head:** `snyk-fix-71500c35fbc168a737867a5d2510b721` --- ### 📝 Commits (1) - [`fdc61bc`](https://github.com/Alvin-Zilverstand/Challenge_15_Magazijn_App_Maken/commit/fdc61bce00e6f3deacd760f0ca4e9befb99027ba) fix: package.json & package-lock.json to reduce vulnerabilities ### 📊 Changes **2 files changed** (+48 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+45 -59) 📝 `package.json` (+3 -3) </details> ### 📄 Description ![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg) ### Snyk has created this PR to fix 7 vulnerabilities in the npm dependencies of this project. #### Snyk changed the following file(s): - `package.json` - `package-lock.json` #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png 'medium severity') | NULL Pointer Dereference <br/>[SNYK-JS-QS-16721866](https://snyk.io/vuln/SNYK-JS-QS-16721866) | &nbsp;&nbsp;****&nbsp;&nbsp; ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Allocation of Resources Without Limits or Throttling <br/>[SNYK-JS-QS-14724253](https://snyk.io/vuln/SNYK-JS-QS-14724253) | &nbsp;&nbsp;**756**&nbsp;&nbsp; ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Allocation of Resources Without Limits or Throttling <br/>[SNYK-JS-QS-15268416](https://snyk.io/vuln/SNYK-JS-QS-15268416) | &nbsp;&nbsp;**731**&nbsp;&nbsp; ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Improper Neutralization of Special Elements in Output Used by a Downstream Component (&#x27;Injection&#x27;) <br/>[SNYK-JS-MONGOOSE-16425765](https://snyk.io/vuln/SNYK-JS-MONGOOSE-16425765) | &nbsp;&nbsp;**696**&nbsp;&nbsp; ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Missing Release of Resource after Effective Lifetime <br/>[SNYK-JS-MULTER-15365916](https://snyk.io/vuln/SNYK-JS-MULTER-15365916) | &nbsp;&nbsp;**649**&nbsp;&nbsp; ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Incomplete Cleanup <br/>[SNYK-JS-MULTER-15365918](https://snyk.io/vuln/SNYK-JS-MULTER-15365918) | &nbsp;&nbsp;**649**&nbsp;&nbsp; ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png 'medium severity') | Regular Expression Denial of Service (ReDoS) <br/>[SNYK-JS-PATHTOREGEXP-15789761](https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-15789761) | &nbsp;&nbsp;**559**&nbsp;&nbsp; --- > [!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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJlMzA5MGM3MC1lNmE4LTQ0ODItOWU0Yi0xMmZiNTY3NThmMTYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImUzMDkwYzcwLWU2YTgtNDQ4Mi05ZTRiLTEyZmI1Njc1OGYxNiJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/alvin-zilverstand/project/1fa76383-022a-4c17-8f77-18cfeead6207?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=github&utm_content=fix-pr-template) 🛠 [Adjust project settings](https://app.snyk.io/org/alvin-zilverstand/project/1fa76383-022a-4c17-8f77-18cfeead6207?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://docs.snyk.io/scan-with-snyk/snyk-open-source/manage-vulnerabilities/upgrade-package-versions-to-fix-vulnerabilities?utm_source=github&utm_content=fix-pr-template) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc&#x3D;fix-pr) 🦉 [Allocation of Resources Without Limits or Throttling](https://learn.snyk.io/lesson/no-rate-limiting/?loc&#x3D;fix-pr) 🦉 [NULL Pointer Dereference](https://learn.snyk.io/lesson/null-dereference/?loc&#x3D;fix-pr) [//]: # 'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":false,"FF_showPullRequestBreakingChangesWebSearch":false,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"multer","from":"2.0.2","to":"2.1.0"},{"name":"express","from":"4.21.2","to":"4.22.0"},{"name":"mongoose","from":"7.8.7","to":"7.8.9"}],"env":"prod","issuesToFix":["SNYK-JS-MONGOOSE-16425765","SNYK-JS-MULTER-15365916","SNYK-JS-MULTER-15365918","SNYK-JS-PATHTOREGEXP-15789761","SNYK-JS-QS-14724253","SNYK-JS-QS-15268416","SNYK-JS-QS-16721866","SNYK-JS-QS-14724253","SNYK-JS-QS-15268416","SNYK-JS-QS-16721866"],"prId":"e3090c70-e6a8-4482-9e4b-12fb56758f16","prPublicId":"e3090c70-e6a8-4482-9e4b-12fb56758f16","packageManager":"npm","priorityScoreList":[696,649,649,559,756,731,null],"projectPublicId":"1fa76383-022a-4c17-8f77-18cfeead6207","projectUrl":"https://app.snyk.io/org/alvin-zilverstand/project/1fa76383-022a-4c17-8f77-18cfeead6207?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["priorityScore"],"type":"user-initiated","upgrade":["SNYK-JS-MONGOOSE-16425765","SNYK-JS-MULTER-15365916","SNYK-JS-MULTER-15365918","SNYK-JS-PATHTOREGEXP-15789761","SNYK-JS-QS-14724253","SNYK-JS-QS-15268416","SNYK-JS-QS-16721866"],"vulns":["SNYK-JS-MONGOOSE-16425765","SNYK-JS-MULTER-15365916","SNYK-JS-MULTER-15365918","SNYK-JS-PATHTOREGEXP-15789761","SNYK-JS-QS-14724253","SNYK-JS-QS-15268416","SNYK-JS-QS-16721866"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Alvin-Zilverstand added the pull-request label 2026-11-13 17:47:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-personal/Challenge_15_Magazijn_App_Maken#2