Skip to content

Commit

Permalink
[AMQ-8348] Fix XmlMessageRenderer has the risk of XStream deserializa…
Browse files Browse the repository at this point in the history
…tion

(cherry picked from commit 0991082)
  • Loading branch information
skyguard1 authored and jbonofre committed Aug 6, 2021
1 parent ec23ab9 commit 0b28d92
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void renderMessage(PrintWriter writer, HttpServletRequest request, HttpSe
public XStream getXstream() {
if (xstream == null) {
xstream = new XStream();
XStream.setupDefaultSecurity(xstream);
}
return xstream;
}
Expand Down

0 comments on commit 0b28d92

Please sign in to comment.