VYPR
Medium severity6.1NVD Advisory· Published Jan 18, 2018· Updated Jun 16, 2026

CVE-2012-6708

CVE-2012-6708

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
jquerynpm
< 1.9.01.9.0
org.webjars.npm:jqueryMaven
< 1.9.01.9.0
jQueryNuGet
< 1.9.01.9.0
jquery-railsRubyGems
< 2.2.02.2.0

Affected products

10

Patches

Vulnerability mechanics

References

26

News mentions

0

No linked articles in our index yet.