CVEfocus › CVE database › CVE-2012-6708

CVE-2012-6708

CVSS 6.1 MediumEPSS 8.6% (higher than 95% of CVEs)Published 2018-01-18Updated 2024-08-06Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Maven, RubyGems, npm: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
5Fix pending
180Will not fix
44Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04jqueryNot affected
vulnerable_code_not_present
Ubuntu 16.04jqueryNot affected
vulnerable_code_not_present
Ubuntu 14.04jqueryFix pending1.7.2+dfsg-2ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2012-6708
Red Hat Enterprise Linux 7ipaNot affected
Red Hat Enterprise Linux 7ipa-admintoolsNot affected
Red Hat Enterprise Linux 7ipa-clientNot affected
Red Hat Enterprise Linux 7ipa-client-commonNot affected
Red Hat Enterprise Linux 7ipa-commonNot affected
Red Hat Enterprise Linux 7ipa-pythonNot affected
Red Hat Enterprise Linux 7ipa-python-compatNot affected
Red Hat Enterprise Linux 7ipa-serverNot affected
Red Hat Enterprise Linux 7ipa-server-commonNot affected
Red Hat Enterprise Linux 7ipa-server-dnsNot affected
Red Hat Enterprise Linux 7ipa-server-trust-adNot affected
Red Hat Enterprise Linux 7ipsilonNot affected
Red Hat Enterprise Linux 7ipsilon-authformNot affected
Red Hat Enterprise Linux 7ipsilon-authgssapiNot affected
Red Hat Enterprise Linux 7ipsilon-authldapNot affected
Red Hat Enterprise Linux 7ipsilon-baseNot affected
Red Hat Enterprise Linux 7ipsilon-clientNot affected
Red Hat Enterprise Linux 7ipsilon-filesystemNot affected
Red Hat Enterprise Linux 7ipsilon-infosssdNot affected
Red Hat Enterprise Linux 7ipsilon-personaNot affected
Red Hat Enterprise Linux 7ipsilon-saml2Not affected
Red Hat Enterprise Linux 7ipsilon-saml2-baseNot affected
Red Hat Enterprise Linux 7ipsilon-tools-ipaNot affected
Red Hat Enterprise Linux 7pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-confWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-develWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-docWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2elasticsearchWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2influxdbWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2jsonWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2sparkWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2xmlWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-pcp2zabbixWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-export-zabbix-agentWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-guiWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-import-collectl2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-import-ganglia2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-import-iostat2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-import-mrtg2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-import-sar2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-libs-develWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-managerWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-activemqWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-apacheWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-bashWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-bccWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-bind2Will not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-bondingWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-cifsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-ciscoWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-dbpingWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-dmWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-dockerWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-ds389Will not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-ds389logWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-elasticsearchWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-gfs2Will not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-glusterWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-gpfsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-gpsdWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-haproxyWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-infinibandWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-jsonWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-libvirtWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-lioWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-lmsensorsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-loggerWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-lustreWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-lustrecommWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-mailqWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-memcacheWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-micWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-mountsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-namedWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-netfilterWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-newsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-nfsclientWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-nginxWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-nvidia-gpuWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-oracleWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-pdnsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-perfeventWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-postfixWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-postgresqlWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-prometheusWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-redisWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-roomtempWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-rpmWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-rsyslogWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-sambaWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-sendmailWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-shpingWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-slurmWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-smartWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-summaryWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-systemdWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-traceWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-unboundWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-vmwareWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-weblogWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-zimbraWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-pmda-zswapWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-system-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-testsuiteWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-webapiWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-webapp-blinkenlightsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-webapp-grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-webapp-graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-webapp-vectorWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-webjsWill not fix
Will not fix
Red Hat Enterprise Linux 7pcp-zeroconfWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-PCP-LogImportWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-PCP-LogSummaryWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-PCP-MMVWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-PCP-PMDAWill not fix
Will not fix
Red Hat Enterprise Linux 7pki-baseNot affected
Red Hat Enterprise Linux 7pki-base-javaNot affected
Red Hat Enterprise Linux 7pki-caNot affected
Red Hat Enterprise Linux 7pki-coreNot affected
Red Hat Enterprise Linux 7pki-javadocNot affected
Red Hat Enterprise Linux 7pki-kraNot affected
Red Hat Enterprise Linux 7pki-serverNot affected
Red Hat Enterprise Linux 7pki-symkeyNot affected
Red Hat Enterprise Linux 7pki-toolsNot affected
Red Hat Enterprise Linux 7publicanFix pending
Affected
Red Hat Enterprise Linux 7publican-common-db5-webFix pending
Affected
Red Hat Enterprise Linux 7publican-common-webFix pending
Affected
Red Hat Enterprise Linux 7publican-docFix pending
Affected
Red Hat Enterprise Linux 7python-coverageWill not fix
Will not fix
Red Hat Enterprise Linux 7python-pcpWill not fix
Will not fix
Red Hat Enterprise Linux 7python2-ipaclientNot affected
Red Hat Enterprise Linux 7python2-ipalibNot affected
Red Hat Enterprise Linux 7python2-ipaserverNot affected
Red Hat Enterprise Linux 6ipaNot affected
Red Hat Enterprise Linux 6ipa-admintoolsNot affected
Red Hat Enterprise Linux 6ipa-clientNot affected
Red Hat Enterprise Linux 6ipa-pythonNot affected
Red Hat Enterprise Linux 6ipa-serverNot affected
Red Hat Enterprise Linux 6ipa-server-selinuxNot affected
Red Hat Enterprise Linux 6ipa-server-trust-adNot affected
Red Hat Enterprise Linux 6pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-collectorWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-confWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-docWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-export-pcp2graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-export-zabbix-agentWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-guiWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-import-collectl2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-import-ganglia2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-import-iostat2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-import-mrtg2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-import-sar2pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-libs-develWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-managerWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-monitorWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-activemqWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-apacheWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-bashWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-bondingWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-cifsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-ciscoWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-dbpingWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-dmWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-ds389Will not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-ds389logWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-elasticsearchWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-gfs2Will not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-glusterWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-gpfsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-gpsdWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-infinibandWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-lmsensorsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-loggerWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-lustreWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-lustrecommWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-mailqWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-memcacheWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-micWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-mountsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-namedWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-netfilterWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-newsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-nfsclientWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-nginxWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-nvidia-gpuWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-papiWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-pdnsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-postfixWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-postgresqlWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-roomtempWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-rpmWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-rsyslogWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-sambaWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-sendmailWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-shpingWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-slurmWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-summaryWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-traceWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-unboundWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-vmwareWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-weblogWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-zimbraWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-pmda-zswapWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-system-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-testsuiteWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-webapiWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-webapp-grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-webapp-graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-webapp-vectorWill not fix
Will not fix
Red Hat Enterprise Linux 6pcp-webjsWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-PCP-LogImportWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-PCP-LogSummaryWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-PCP-MMVWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-PCP-PMDAWill not fix
Will not fix
Red Hat Enterprise Linux 6python-coverageWill not fix
Will not fix
Red Hat Enterprise Linux 6python-pcpWill not fix
Will not fix
Red Hat Enterprise Linux 6python-weberrorWill not fix
Will not fix
Alpine Linux 3.10rubyFixed2.5.6-r0ALPINE-CVE-2012-6708
npm libraryjqueryFixed1.9.0GHSA-2pqj-h3vj-pqgw
RubyGems libraryjquery-railsFixed2.2.0GHSA-2pqj-h3vj-pqgw
Maven libraryorg.webjars.npm:jqueryFixed1.9.0GHSA-2pqj-h3vj-pqgw

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.