Strapi 3.6.5 vulnerabilities

I’ll share a link to this issue comment:

The problem with the npm vuln scan system is it only takes into account 1 factor out of 3:

  • Risk (npm gives you the risk)
  • Probability/Likelyhood
  • Impact

In the vulnerabilities listed in that audit, while they all show high risk their impact is basically nothing because we don’t use the vulnerable parts of the code and the probability is functionally impossible. (one of them was a prototype pollution in a CSS package which is “what in the heck?” type of moment.

On that note, I’ve already opened (and one has been merged) to fix most of them:

Though there is honestly a much easier way to fix them if you use yarn instead of npm (which we recommend), by that I mean you should never use npm audit fix; like ever.

"resolutions": {
    "yup": "^0.32.9",
    "lodash": "4.17.21"
  },

The remaining 3 are functionally impossible/no impact both in terms of likelihood and impact