JBoss BRMS 6 and BPM Suite 6 are vulnerable to a stored XSS via business process editor. The flaw is due to an incomplete fix for CVE-2016-5398. Remote authenticated attackers that have privileges to create business processes can store scripts in them, which are not properly sanitized before showing to other users, including admins.
Acknowledgments: Name: Kirill Gaevskii (Red Hat)
This issue has been addressed in the following products: Red Hat JBoss BRMS 6.4.0 Via RHSA-2016:2823 https://rhn.redhat.com/errata/RHSA-2016-2823.html
This issue has been addressed in the following products: Red Hat JBoss BPM Suite 6.4.0 Via RHSA-2016:2822 https://rhn.redhat.com/errata/RHSA-2016-2822.html