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

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks #4300

rbeckman-nextgen opened this issue May 11, 2020 · 1 comment


Copy link

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

As a workaround, you can do the following:

  • Delete webadmin.war from the webapps folder.
  • Download latest 1.x jQuery (e.g. 1.12.4)
  • Replace the jQuery JavaScript files in:
    ** public_html/js
    ** public_api_html/lib
  • Edit the following HTML files to point to the new version of jQuery
    ** public_html/index.html
    ** public_api_html/index.html
  • Restart Mirth Connect

Imported Issue. Original Details:
Jira Issue Key: MIRTH-4425
Reporter: narupley
Created: 2019-06-28T08:14:21.000-0700

@rbeckman-nextgen rbeckman-nextgen added this to the 3.9.0 milestone May 11, 2020
Copy link
Collaborator Author

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020


Imported Comment. Original Details:
Author: christ
Created: 2020-04-13T14:40:27.000-0700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.