GHSA-fj93-7wm4-8x2g
Cross-Site Scripting in jquery-mobile
GHSA-fj93-7wm4-8x2g is a vulnerability with no CVSS score yet in jquery-mobile, published September 2, 2020. No source lists public exploit code. Fixed in jquery-mobile 1.4.5-tuxcare.1.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
1.4.5-tuxcare.1jquery-mobile +1 more
Description
All version of jquery-mobile are vulnerable to Cross-Site Scripting. The package checks for content in location.hash and if a URL is found it does an XmlHttpRequest (XHR) to the URL and renders the response with innerHTML. It fails to validate the Content-Type of the response, allowing attackers to include malicious payloads as part of query parameters that are reflected back to the user. A response such as {"q":"<iframe/src='javascript:alert(1)'></iframe>","results":[]} would be parsed as HTML and the JavaScript payload executed.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jquery-mobilenpm | All versions | None known |
jquery-mobileTuxCare:npm | 1.4.5-tuxcare.0 up to 1.4.5-tuxcare.1, plus listed versions 1.4.5 | 1.4.5-tuxcare.1 |
What each source reports
GitHub AdvisoriesNo score
Cross-Site Scripting in jquery-mobile
All version of jquery-mobile are vulnerable to Cross-Site Scripting. The package checks for content in location.hash and if a URL is found it does an XmlHttpRequest (XHR) to the URL and renders the response with innerHTML. It fails to validate the Content-Type of the response, allowing attackers to include malicious payloads as part of query parameters that are reflected back to the user. A response such as {"q":"<iframe/src='javascript:alert(1)'></iframe>","results":[]} would be parsed as HTML and the JavaScript payload executed.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-fj93-7wm4-8x2g- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVCLSA-2026-1788807441No score
TuxCare security update for jquery-mobile (1 CVE)
TuxCare rebuilt jquery-mobile to address 1 CVE. Fixed in 1.4.5-tuxcare.1.
- Record
CLSA-2026-1788807441- Updated
- 2026-11-02
OSVNo score
Cross-Site Scripting in jquery-mobile
All version of jquery-mobile are vulnerable to Cross-Site Scripting. The package checks for content in location.hash and if a URL is found it does an XmlHttpRequest (XHR) to the URL and renders the response with innerHTML. It fails to validate the Content-Type of the response, allowing attackers to include malicious payloads as part of query parameters that are reflected back to the user. A response such as {"q":"<iframe/src='javascript:alert(1)'></iframe>","results":[]} would be parsed as HTML and the JavaScript payload executed.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-fj93-7wm4-8x2g- Weakness
- CWE-79
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
gist.github.com/jupenur/e5d0c6f9b58aa81860bf74e010cf1685
snyk.io/vuln/SNYK-JS-JQUERYMOBILE-174599
npmjs.com/advisories/883
github.com/jquery/jquery-mobile/issues/8640
github.com/jquery/jquery-mobile/pull/8649
github.com/jquery/jquery-mobile/pull/8650
github.com/jquery/jquery-mobile/commit/b0d9cc758a48f13321750d7409fb7655dcdf2b50
github.com/advisories/GHSA-fj93-7wm4-8x2g
github.com/jquery/jquery-mobile