Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega website vulnerable to cross-site scripting (XSS) attacks



User observed that the Pega website was vulnerable to reflected, or non-persistent, cross-site scripting (XSS) attacks.

Error Messages

Not Applicable

Steps to Reproduce

After logging into the application, inject a script in a REST service like below:

http://[Hostname]:[port]/prweb/api/<img src=x onerror=alert(document.cookie)>/anything/anything
http://[Hostname]:[port]/prweb/PRRestService/<img src=x onerror=alert(document.cookie)>/anything/anything
http://[Hostname]:[port]/prweb/PRRestService/api/<img src=x onerror=alert(document.cookie)>/anything/anything

Root Cause

A defect in Pegasystems’ code or rules.
Issue is observed only in Firefox browser as it is unable to block XSS when an attacker injects a script in a REST service.


Apply HFix-34976.
Suggest Edit

Published July 27, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us