The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.
{
"nvd_published_at": "2021-04-21T07:15:00Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-115",
"CWE-611"
],
"severity": "HIGH",
"github_reviewed_at": "2021-04-22T16:31:39Z"
}