lukaszlenart opened a new pull request, #1701: URL: https://github.com/apache/struts/pull/1701
Backports #1653 to the 6.x line. `PostbackResult.doExecute()` embeds `finalLocation` into a `<form action="">` attribute via raw string concatenation. Wrap it with `StringEscapeUtils.escapeHtml4()`, consistent with the encoding approach used in `DefaultActionProxy`, `Property`, and `TextProviderHelper`. See [#1653](https://github.com/apache/struts/pull/1653) for the full analysis. Adds three regression tests covering the XSS payload, all special characters, and the clean-URL regression case. Fixes [WW-5623](https://issues.apache.org/jira/browse/WW-5623). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
