This matches what is being used in GitLab Rails already.
Diff: https://my.diffend.io/gems/rexml/3.2.4/3.2.5
Closes https://gitlab.com/gitlab-org/gitaly/-/issues/3634