---
title: jQuery – XSS Vulnerability Under 1.6.3, When Using location.hash
description: "Impact Area Security       Severity High       Affected Element **ServiceNow** UI Script **Salesforce** Static Resource ## Rule number **SN-JSL-011 **(for ServiceNow) **SF-JSL-011 **(for Salesforce) ## Impact In versions of jQuery before 1.6.3, when using location.hash to select elements,…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/jquery-xss-vulnerability-under-1-6-3-when-using-location-hash/"
updated: "2025-03-21"
category: Rules
---

# jQuery – XSS Vulnerability Under 1.6.3, When Using location.hash

Impact Area

Security

 

 

 

           Severity

High

 

 

 

           Affected Element

**ServiceNow**

UI Script

**Salesforce**

Static Resource

## Rule number

**SN-JSL-011 **(for ServiceNow)

**SF-JSL-011 **(for Salesforce)

## Impact

In versions of jQuery before 1.6.3, when using location.hash to select elements, allows remote attackers to inject arbitrary web script or HTML via a crafted tag.

## Remediation

Update jQuery to the latest version.

### Time to fix

30 min
