Bootstrap – XSS Vulnerability On Versions Under 3.4.0, On data-target Attribute

< 1 min read

Impact area

Security

Severity

High

Affected element

ServiceNow

UI Script

Salesforce

Static Resource

Rule number #

SN-JSL-BOOTSTRAP-LESSTHAN-V340 (for ServiceNow)

SF-JSL-BOOTSTRAP-LESSTHAN-V340(for Salesforce)

Impact #

The data-target attribute is vulnerable to Cross-Site Scripting attacks in versions before 3.4.0.

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’).

Updated on March 21, 2025
Was it helpful ?