# CVE-2021-28965: REXML round-trip instability

Source: https://junglewise.ai/threats/cve-2021-28965-rexml-round-trip-instability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-30  
License: CC BY 4.0 with a link back

CVE-2021-28965 · Severity: low · CVSS 3.1 · Published 2021-04-30

REXML round-trip instability

Technologies: [rexml (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-rexml). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2021-28965 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-28965 being exploited in the wild.

**How severe is CVE-2021-28965?** Low severity, with a CVSS score of 3.1, published 30 April 2021.

**Which products and versions are affected?** rexml (RubyGems) ECOSYSTEM:introduced=0,fixed=3.2.5.

**Is there a fix for CVE-2021-28965?** Yes. rexml (RubyGems): upgrade to 3.2.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-28965?** Check whether you run rexml (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- rexml (RubyGems): upgrade to 3.2.5 or later

  ```sh
  bundle update rexml
  ```


## Affected products

- rexml (RubyGems) ECOSYSTEM:introduced=0,fixed=3.2.5

## Identifiers

- CVE-2021-28965
- GHSA-8cr8-4vfw-mr7h

## Related threats

- [REXML has DoS condition when parsing malformed XML file](https://junglewise.ai/threats/cve-2025-58767-rexml-has-dos-condition-when-parsing-malformed-xml-file)
- [REXML ReDoS vulnerability](https://junglewise.ai/threats/cve-2024-49761-rexml-redos-vulnerability)
- [REXML denial of service vulnerability](https://junglewise.ai/threats/cve-2024-43398-rexml-denial-of-service-vulnerability)
- [REXML DoS vulnerability](https://junglewise.ai/threats/cve-2024-41946-rexml-dos-vulnerability)
- [REXML DoS vulnerability](https://junglewise.ai/threats/cve-2024-41123-rexml-dos-vulnerability)
