[
https://issues.apache.org/jira/browse/OFBIZ-12249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17357741#comment-17357741 ]
Xin Wang commented on OFBIZ-12249:
----------------------------------
After some investigation, I found that it is altered by UtilHttp.canonicalizeParameter, which unescaped the encoded input.
Regarding to preventing XSS attacks, I think we should rely on output encoding for free-form text input.
Following are some discussions about input sanitization and output encoding:
https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.htmlhttps://security.stackexchange.com/questions/95325/input-sanitization-vs-output-sanitization--
This message was sent by Atlassian Jira
(v8.3.4#803005)