You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We conducted a pentest on our software and this was a false positive that came out:
What is this feature about (expected vs actual behaviour)?
If there is a < followed by a-z it is changed by xss_clean to for example: 'test1 < test2' becomes: 'test1 < test2'
But 'test1 > test2' will stay 'test1 > test2'
For example <p>test1 < test2</p> is turned into <p>test1 < test2</p>
It seems to come from the _close_html_callback function and it assumes the < is the start of an HTML tag, so everything after is encoded. So in this case, it thinks there's an HTML tag < test2</p>
We conducted a pentest on our software and this was a false positive that came out:
What is this feature about (expected vs actual behaviour)?
If there is a < followed by a-z it is changed by xss_clean to for example:
'test1 < test2'
becomes:'test1 < test2'
But
'test1 > test2'
will stay'test1 > test2'
How can I reproduce it?
Does it take minutes, hours or days to fix?
I really don't know, If I understand the packages better I maybe could write a fix, but I don't know where to start...
Any additional information?
The text was updated successfully, but these errors were encountered: