---
title: "Bootstrap – XSS Vulnerability On Versions Between 4.0.0 And 4.1.2, On data-target Attribute"
description: "**Impact area** Security **Severity** High **Affected element** **ServiceNow** UI Script **Salesforce** Static Resource ## Rule number **SN-JSL-BOOTSTRAP-BETWEEN-V400-V412 **(for ServiceNow) **SF-JSL-BOOTSTRAP-BETWEEN-V400-V412 **(for Salesforce) ## Impact The data-target attribute is vulnerable to Cross-Site Scripting attacks in versions between 4.0.0 and 4.1.2. ## Remediation Update…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/bootstrap-xss-vulnerability-on-versions-between-4-0-0-and-4-1-2-on-data-target-attribute/"
updated: "2025-03-21"
category: Rules
---

# Bootstrap – XSS Vulnerability On Versions Between 4.0.0 And 4.1.2, On data-target Attribute

**Impact area**

Security

**Severity**

High

**Affected element**

**ServiceNow**

UI Script

**Salesforce**

Static Resource

## Rule number

**SN-JSL-BOOTSTRAP-BETWEEN-V400-V412 **(for ServiceNow)

**SF-JSL-BOOTSTRAP-BETWEEN-V400-V412 **(for Salesforce)

## Impact

The data-target attribute is vulnerable to Cross-Site Scripting attacks in versions between 4.0.0 and 4.1.2.

## Remediation

Update bootstrap to the latest version.

### Time to fix

30 min

## References

This rule is linked to [Common Weakness Enumeration CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')](https://cwe.mitre.org/data/definitions/79.html).
