Property
Languagegeneric
Severityhigh
CWECWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
OWASPA07:2017 - Cross-Site Scripting (XSS)
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelHigh

Description#

The code includes URL parameters directly in Visualforce pages or scripts without escaping, allowing untrusted input to be rendered as part of the page. This exposes the application to Cross-Site Scripting (XSS) attacks because malicious users can inject harmful scripts through manipulated URLs.

Impact#

If exploited, attackers could execute arbitrary JavaScript in users’ browsers, leading to data theft, session hijacking, or unauthorized actions performed on behalf of users. This compromises user accounts, undermines trust, and may result in regulatory or reputational damage to the organization.