-
Bug
-
Resolution: Fixed
-
Major
-
None
One of my tests outputs text that contains what looks like an HTML tag:
ok 19 - msg is "defO01<<TRUNCATED>>"
The Description column for this test on the TAP Extended Test Results page looks like this:
- msg is "defO01<>"
When I browse the source HTML for this section of the page, the text from the TAP output is definitely not being escaped. This could lead to cross-site scripting issues.
Hi, sorry for taking so long to fix this issue. Working on it at the moment.
Here's the Jelly docs about XSS. I didn't know about this neat trick. A single line to fix this security issue. I'll check if we can add it in a few other files as well, without breaking anything.
https://wiki.jenkins-ci.org/display/JENKINS/Jelly+and+XSS+prevention