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




Last modified on Sep 2, 2021