Google Play Store Security Alert Says that your app contains Vulnerable JavaScript libraries how to remove the security warning?

后端 未结 4 1047
小鲜肉
小鲜肉 2021-01-04 06:21

In Google Play Store am getting warning below like this,

Your app contains one or more libraries with known security issues. Please see this Google Help Center artic

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-04 06:32

    This issue refers to an old vulnerability of jquery from your res/raw/jquery_min.js file.

    Just updated the jquery_min.js to v3.4.1 and fix it.

    You can fix it manually in your file change in the code:

    From:

    if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||

    To:

    if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(k.isPlainObject(r)||

    I found this solution in https://www.privacy-wise.com/mitigating-cve-2019-11358-in-old-versions-of-jquery/ and worked for me.

提交回复
热议问题