{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-28965","published":"2021-04-21T07:15:07.677000Z","last_modified":"2026-06-17T03:47:05.853000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"rexml","version_end_excluding":"3.2.5"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_end_excluding":"2.6.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"2.7.0","version_end_excluding":"2.7.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"3.0.0","version_end_excluding":"3.0.1"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["ruby-lang","fedoraproject"],"products":["ruby-lang/rexml","ruby-lang/ruby","fedoraproject/fedora"],"epss":{"score":0.04447,"percentile":0.922,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8cr8-4vfw-mr7h","ecosystem":"RubyGems","name":"rexml","purl":"pkg:gem/rexml","ranges":[{"introduced":"0","fixed":"3.2.5"}],"versions":["3.1.7.3","3.1.8","3.1.9","3.1.9.1","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-28965/","html_en":"/en/cve/CVE-2021-28965/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28965","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28965"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Rexml","desc_en":"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.","affected":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0003/","tags":["Third Party Advisory"]},{"url":"https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/","tags":["Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:8838","url":"https://access.redhat.com/errata/RHSA-2026:8838","published":"2026-04-21T10:10:33+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}},{"source":"redhat","id":"RHSA-2026:7305","url":"https://access.redhat.com/errata/RHSA-2026:7305","published":"2026-04-21T10:09:49+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}},{"source":"redhat","id":"RHSA-2026:7307","url":"https://access.redhat.com/errata/RHSA-2026:7307","published":"2026-04-21T10:09:49+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}},{"source":"suse","id":"openSUSE-SU-2025:15819-1","url":"https://www.suse.com/support/update/","published":"2025-12-12T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"libruby4_0-4_0-4.0.0~preview2-1.1 on GA media"}}]}