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

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

QUALITY CENTER APP #

Instant quality scans right in your org.

Free on AppExchange. No Credit Card Required.

Was it helpful ?

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!