swfobject – XSS Vulnerability On Versions Under 2.1, On swfobject.getQueryParamValue

< 1 min read

Impact area

Security

Severity

High

Affected element

ServiceNow

UI Script

Salesforce

Static Resource

Rule number #

SN-JSL-SWFOBJECT-LESSTHAN-V21 (for ServiceNow)

SF-JSL-SWFOBJECT-LESSTHAN-V21 (for Salesforce)

Impact #

swfobject in versions before 2.1 is missing a filter on the getQueryParamValue which prevents XSS attacks.

Remediation #

Update swfobject 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 ?