New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stored XSS in sidebar and in table_data #22

Open
Davidepaalte opened this Issue Mar 8, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@Davidepaalte
Copy link

Davidepaalte commented Mar 8, 2018

The sidebar and table_data are vulnerable to Stored XSS, which means an attacker could store HTML code on the database that would be rendered by the browser when viewed and potentially run malicious code.

This can be fixed in the callColumn function of the SideBarLogic.java and in the DataSelectLogic function of the DataSelectLogic.java using org.apache.commons.lang.StringEscapeUtils.escapeHtml function on the data coming from the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment