react-google-maps icon indicating copy to clipboard operation
react-google-maps copied to clipboard

Upgrade jQuery dependency inside scriptjs package.

Open sadashiv-sumasoft opened this issue 2 years ago • 1 comments

Hi, When using one of the tools for SAST (Static Application Security Testing), I found out about one issue in your package hierarchical dependency listed above.

└─┬ [email protected] └── [email protected] └── [email protected] Though it is not directly dependent on the scriptjs package, the scriptjs package uses jQuery 1.5.2 in it. at above path \node_modules\scriptjs\vendor\jquery.js )

Error: jQuery 1.5.2 has known vulnerabilities: severity: medium; summary: XSS with location.hash, CVE: CVE-2011-4969, githubID: GHSA-579v-mp3v-rrw5; http://research.insecurelabs.org/jquery/test/

Recommendation Upgrade to version 1.9.0 or later.

As the tool suggests, the JQuery 1.5.2 version has some security vulnerabilities, so upgrading this package to the latest would help.

I know posting this issue in the scriptjs package is more appropriate; I will post on that package too, but upgrading or removing it from that piece of code from your package itself would be much appreciated.

sadashiv-sumasoft avatar Jan 22 '24 12:01 sadashiv-sumasoft

@sadashiv-sumasoft please upgrade to @react-google-maps/api. This library is unmaintained over 6 years.

JustFly1984 avatar Jan 22 '24 16:01 JustFly1984