Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rexml
  4. ›
  5. CVE-2021-28965

CVE-2021-28965: Improper Restriction of XML External Entity Reference

April 21, 2021 (updated November 7, 2023)

The REXML gem does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-28965

Code Behaviors & Features

Detect and mitigate CVE-2021-28965 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.2.5

Fixed versions

  • 3.2.5

Solution

Upgrade to version 3.2.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Source file

gem/rexml/CVE-2021-28965.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.