- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Example page - Rocket Trajectory uses old version of charts.js which has high security vulnerability #2337
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
Comments
Thanks for bringing this up. Makes sense to me to remove the examples and also the docs from the npm package: you can use the examples and docs from the website https://mathjs.org, and also from the git repo. This will require changes in the script that generates the website, which is a gh-pages website. This currently copies the examples and docs from the npm package, see: https://github.com/josdejong/mathjs/blob/gh-pages/gulpfile.js |
Hm, I realize the website build script needs both the npm package (math.js bundle) and the Help to work this out would be welcome! |
Is there any update on this issue? |
No, it's not yet picked up by anyone. Help would be welcome 😄 |
* Fix #2337: remove `examples` and `docs` from npm package * Add `directories` property but only with the directories that are still in the npm package
Example page: math.js | rocket trajectory optimization
Uses Chart.js 2.5.0
Which has a High Security Vulnerability (CVE-2020-7746)
Because of this, application security scanners are reporting Security Vulnerabilities because the sample pages are included in the npm packaging.
The text was updated successfully, but these errors were encountered: