patchminder
Proof of concept · GitHub CVE-2015-9251

Cross-site scriptingin the jquery package.

Published 18 Jan 2018 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 6.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 29.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.12.2, 3.0.0, 4.2.0
In plain words

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.

What to do now
  • Upgrade jquery (npm) to 1.12.2, 3.0.0 or later, whichever matches your release line.
  • Upgrade jQuery (NuGet) to 1.12.2, 3.0.0 or later, whichever matches your release line.
  • Upgrade jquery-rails (RubyGems) to 4.2.0 or later.
  • Upgrade org.webjars.npm:jquery (Maven) to 1.12.2, 3.0.0 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
jquery (npm)
before 1.12.2
1.12.2
GitHub advisory
jquery (npm)
1.12.3 to before 3.0.0
3.0.0
GitHub advisory
jQuery (NuGet)
before 1.12.2
1.12.2
GitHub advisory
jQuery (NuGet)
1.12.3 to before 3.0.0
3.0.0
GitHub advisory
jquery-rails (RubyGems)
before 4.2.0
4.2.0
GitHub advisory
org.webjars.npm:jquery (Maven)
before 1.12.2
1.12.2
GitHub advisory
org.webjars.npm:jquery (Maven)
1.12.3 to before 3.0.0
3.0.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 Jan 2018
    CVE ID reserved by mitre.
  2. 18 Jan 2018
    Published in the CVE List.
  3. 20 Dec 2018
    First public proof of concept on GitHub.
  4. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
4 repositories
GitHubno warning signs foundhalkichi0308/CVE-2015-92519 stars · created 20 Dec 2018
GitHubno warning signs foundmoften/CVE-2015-92512 stars · created 1 Nov 2024PoC para CVE-2015-9251 jQuery menor a 3.0.0.
GitHubno warning signs foundhackgiver/CVE-2015-92512 stars · created 8 Jan 2025This repository contains a Proof of Concept (PoC) for CVE-2015-9251, a vulnerability in jQuery versions prior to 3.0.0 that allows attackers to perform Cross-Site Scripting (XSS) attacks under certain
GitHubno warning signs foundrox-11/xss0 stars · created 6 Jun 2025cve-2015-9251

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2015-9251: Cross-site scripting in the jquery package. https://patchminder.com/cve/cve-2015-9251/ (accessed 5 December 2026).