{"cve":"CVE-2021-28965","nvd":{"published":"2021-04-21T07:15:07.677","modified":"2026-06-17T03:47:05.853","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":[],"references":["https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/","https://security.netapp.com/advisory/ntap-20210528-0003/","https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/","https://security.netapp.com/advisory/ntap-20210528-0003/"],"products":["fedoraproject:fedora","ruby-lang:rexml","ruby-lang:ruby"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-28965","score":0.05061,"percentile":0.92316,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8cr8-4vfw-mr7h","url":"https://osv.dev/vulnerability/GHSA-8cr8-4vfw-mr7h","summary":"REXML round-trip instability","modified":"2025-01-27T08:58:46.059744Z","packages":[{"ecosystem":"RubyGems","name":"rexml","purl":"pkg:gem/rexml","ranges":["<3.2.5"],"fixed":["3.2.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}