Skip to content
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

pathfinding dependency is bringing in an old copy of jquery with vulnerabilities #995

Open
scottdickerson opened this issue Apr 14, 2023 · 0 comments

Comments

@scottdickerson
Copy link

/home/runner/work/contrast-ui/contrast-ui/node_modules/pathfinding/visual/lib/jquery-1.7.2.min.js
 ↳ jquery 1.7.2
jquery 1.7.2 has known vulnerabilities: severity: high; CVE: CVE-2012-6708, bug: 11290, summary: Selector interpreted as HTML, githubID: GHSA-2pqj-h3vj-pqgw; http://bugs.jquery.com/ticket/11290 https://nvd.nist.gov/vuln/detail/CVE-2012-6708 http://research.insecurelabs.org/jquery/test/ severity: medium; CVE: CVE-2020-7656, summary: Versions of jquery prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove "<script>" HTML tags that contain a whitespace character, i.e: "</script >", which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser.

if you run retireJS on your project you'll see this get flagged.
Unfortunately pathfinding has not been updated to address this issue. Is it possible to remove the pathfinding dependency from react-diagrams-routing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant