Skip to content

OC-17767:Check XSS finding in report#3552

Open
Taoli2018 wants to merge 1 commit into
OpenClinica:3.17.xfrom
Taoli2018:OC-17767v2in317x
Open

OC-17767:Check XSS finding in report#3552
Taoli2018 wants to merge 1 commit into
OpenClinica:3.17.xfrom
Taoli2018:OC-17767v2in317x

Conversation

@Taoli2018

Copy link
Copy Markdown
Contributor

No description provided.

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

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants