Closed jamesryan-dev closed 1 month ago
hey @jamesryan-dev thanks for submitting this :) I tested with latest jss nextjs app and i got cookie v0.7.1 so i don't see the mentioned vulnerability. Can you give me some more details on what kind of app and version are you seeing this? thanks!
@jamesryan-dev as my colleague mentioned, JSS nextjs app uses cookie
dependency with version 0.7.1
out of the box.
It seems the lower numbered vulnerable version comes from the next-auth
and universal-cookie
dependencies, which are not present OOB.
This dependency has been recently updated in next-auth
https://github.com/nextauthjs/next-auth/commit/b3e4369cff3e584b3254cc2689b7c9076d51c6d0 which should address your problem.
Please feel free to reach out and reopen this issue if you have more questions.
Describe the Bug
I have checked the latest release notes and none of the recent work within v22 have addressed this
To Reproduce
Use v22
"@sitecore-jss/sitecore-jss": "^22.0.0", "@sitecore-jss/sitecore-jss-cli": "^22.0.0", "@sitecore-jss/sitecore-jss-dev-tools": "^22.0.0",
Run
npm audit
Observe vulnerability logs
Expected Behavior
No vulnerabilities reported
Possible Fix
No response
Provide environment information