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

Cross-site Scripting (XSS) Vulnerability in Exist-db Ver. 4.0 due to Jquery version 1.7.1 #190

Open
himanshubhargav opened this issue May 3, 2018 · 3 comments
Labels

Comments

@himanshubhargav
Copy link

We have installed the Exist-db version 4.0 on our AWS Server on port 8090, Which is open to internet. In the recent scan of the Server, we have encountered the vulnerabilities on this port due to lower version of jquery(1.7.1) is used in the exist-db.

As per remedy reports, it has been advice to Upgrade jquery to version 3.0.0 or higher. I have checkeds the latest version of Exist-db but it is also using the older version of jquery. We can not manually replace the jquery version because it has been referenced by many objects of exist-db server.

Kindly advice and let me know how do i solve this issue. Please find below the related reference links and details for your reference.

https://snyk.io/vuln/npm:jquery:20150627
https://bugs.jquery.com/ticket/11290
https://nvd.nist.gov/vuln/detail/CVE-2012-6708

jQuery is vulnerable to Cross-site Scripting (XSS) attacks because the Query() function does not differentiate selectors from HTML in a reliable way. In vulnerable versions, jQuery determines if the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility to build a malicious payload.

Is Exist-db planning to release new setup with latest version of Jquery??

@duncdrum
Copy link
Contributor

duncdrum commented May 5, 2018

for security related issues please send an email to security@exist-db.org . There are ways to avoiding the jQuery vulnerability depending on your use case. For general security advise for production environments see Production Use - Good Practice from the documentation.

@himanshubhargav
Copy link
Author

himanshubhargav commented May 7, 2018 via email

@dizzzz
Copy link
Member

dizzzz commented May 7, 2018

I have a few apps where I use an updated version of bootstrap and jquery , all installed in my XAR files in a collection called 'resources' aside some css and other js files....

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

No branches or pull requests

3 participants