CVE-2012-6708

Aliases:GHSA-2pqj-h3vj-pqgw
Modified
Published: 18 Jan 2018, 23:00
Last modified:06 Aug 2024, 21:36

Vulnerability Summary

Overall Risk (default)
medium
35/100
CVSS Score
6.1 MEDIUM
v3.0 (nvd)
EPSS Score
0.9% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

18 Jan 2018, 23:00
Published
Vulnerability first disclosed
06 Aug 2024, 21:36
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.0MEDIUMScore: 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.90% Percentile: 76%

Techniques & Countermeasures

  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

    The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Affected Systems

  • RubyGemsjquery-rails

    < 2.2.0

  • UnknownJQuery

    < 1.9.0

  • org.webjars.npmjquery

    < 1.9.0

  • Npmjquery

    < 1.9.0

  • NuGetjquery

    < 1.9.0

References (26)