Skip to content

Commit

Permalink
[Snyk] Security upgrade mocha from 10.2.0 to 10.6.0 (#6)
Browse files Browse the repository at this point in the history
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

### Snyk has created this PR to fix 1 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') | Cross-site Scripting (XSS)
<br/>[SNYK-JS-SERIALIZEJAVASCRIPT-6147607](https://snyk.io/vuln/SNYK-JS-SERIALIZEJAVASCRIPT-6147607)
| &nbsp;&nbsp;**109**&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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5MDA0YzRlNS01ZDUwLTQ4ZjgtOWU1NC01YjNlMTkwZmY5N2IiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjkwMDRjNGU1LTVkNTAtNDhmOC05ZTU0LTViM2UxOTBmZjk3YiJ9fQ=="
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/hari.ronadini/project/88a024b8-0ba7-4b98-8624-4b50b8b56acb?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)
🛠 [Adjust project
settings](https://app.snyk.io/org/hari.ronadini/project/88a024b8-0ba7-4b98-8624-4b50b8b56acb?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings)
📚 [Read about Snyk's upgrade
logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Cross-site Scripting
(XSS)](https://learn.snyk.io/lesson/dom-based-xss/?loc&#x3D;fix-pr)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"mocha","from":"10.2.0","to":"10.6.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof
of
Concept","id":"SNYK-JS-SERIALIZEJAVASCRIPT-6147607","priority_score":109,"priority_score_factors":[{"name":"confidentiality","value":"low"},{"name":"integrity","value":"low"},{"name":"availability","value":"none"},{"name":"scope","value":"changed"},{"name":"exploitCodeMaturity","value":"proofOfConcept"},{"name":"userInteraction","value":"required"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.01055},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Tue
Jan 09 2024 12:13:57 GMT+0000 (Coordinated Universal
Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"medium"},{"name":"relativePopularityRank","value":99},{"name":"impact","value":4.54},{"name":"likelihood","value":2.39},{"name":"scoreVersion","value":"V5"}],"severity":"medium","title":"Cross-site
Scripting
(XSS)"}],"prId":"9004c4e5-5d50-48f8-9e54-5b3e190ff97b","prPublicId":"9004c4e5-5d50-48f8-9e54-5b3e190ff97b","packageManager":"npm","priorityScoreList":[109],"projectPublicId":"88a024b8-0ba7-4b98-8624-4b50b8b56acb","projectUrl":"https://app.snyk.io/org/hari.ronadini/project/88a024b8-0ba7-4b98-8624-4b50b8b56acb?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"user-initiated","upgrade":["SNYK-JS-SERIALIZEJAVASCRIPT-6147607"],"vulns":["SNYK-JS-SERIALIZEJAVASCRIPT-6147607"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
  • Loading branch information
rona-dinihari authored Oct 19, 2024
2 parents fc584d5 + 2c67623 commit 2f72d3a
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 120 deletions.
194 changes: 75 additions & 119 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"mocha": "^10.2.0",
"mocha": "^10.6.0",
"should": "~2.1.1"
},
"scripts": {
Expand Down

0 comments on commit 2f72d3a

Please sign in to comment.