XSS Vulnerability in jQuery Affects Multiple Applications
CVE-2012-6708
6.1MEDIUM
What is CVE-2012-6708?
Earlier versions of jQuery (prior to 1.9.0) are susceptible to Cross-site Scripting (XSS) attacks. The vulnerability arises from the improper differentiation between HTML and selectors in the jQuery(strInput) function. By only checking for the '<' character anywhere in the input string, attackers could craft harmful payloads with greater ease. In the updated version, jQuery mitigates this risk by requiring that the input explicitly starts with the '<' character to be recognized as HTML, significantly reducing the likelihood of exploitation.