Search for packages
Package details: pkg:gem/jquery-rails@2.2
purl pkg:gem/jquery-rails@2.2
Tags Ghost
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk 10.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-q1qe-zr6p-aaap
Aliases:
CVE-2012-6708
GHSA-2pqj-h3vj-pqgw
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. There are no reported fixed by versions.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2024-09-18T08:44:01.639614+00:00 Ruby Importer Affected by VCID-q1qe-zr6p-aaap https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2012-6708.yml 34.0.1
2024-04-23T22:45:05.657480+00:00 Ruby Importer Affected by VCID-q1qe-zr6p-aaap https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2012-6708.yml 34.0.0rc4