Cross-site Scripting (XSS) Affecting pcp-webjs package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.82% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-PCPWEBJS-1937168
  • published26 Jul 2021
  • disclosed21 Mar 2017

Introduced: 21 Mar 2017

CVE-2012-6708  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 pcp-webjs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcp-webjs package and not the pcp-webjs package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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 Scores

version 3.1