swisspol / GCDWebServer

The #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vulnerability library Issue in pod version 3.5.4 : -> jquery-1.11.0.min.js

RamelRana opened this issue · comments

Hi Team, I can see few vulnerability related to jquery-1.11.0.min.js having some older version library usage in GCDWebserver. Some details related to vulnerability issue:

  1. jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType option, causing text/javascript responses to be executed.

Upgrade to version jQuery - v3.0.0
https://nvd.nist.gov/vuln/detail/CVE-2015-9251

  1. jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable proto property, it could extend the native Object.prototype.

Upgrade to version 3.4.0
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11358

  1. In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Upgrade to version jQuery - 3.5.0
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

  1. In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing elements from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Upgrade to version jquery - 3.5.0
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11023

Please look into this and hopefully the things may resolve in upcoming version. let me know if more detail required for the same.

Thanks

`I have no plans upgrade jQuery, it's not an important component of GCDWebSever.