Skip to content
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

OC-17767:Check XSS finding in report #3552

Open
wants to merge 1 commit into
base: 3.17.x
Choose a base branch
from

Conversation

Taoli2018
Copy link
Contributor

No description provided.

/**
* check unsafe input
*/
int index = findSubjectsHtml.indexOf("jQuery.jmesa.addFilterToLimit('findSubjects','studySubject.label',");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of fixing it specifically for the matrix, let's try to fix it globally like we did for OC4.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merged OC4 fix, and tested at my local, looks like the fix of OC4 can't fix the issue reported in OC3, OC4 fix is to handle XSS when user/attacker enter value at input fields from matrix table, but OC3 reported the XSS issue is user/attacker start XSS attack from URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants