rexml vulnerabilities

An XML toolkit for Ruby

Registry
RubyGems
Latest
3.4.4
License
BSD-2-Clause

8 known advisories

The latest version, 3.4.4, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative rexml # Gemfile: '>= 3.4.4'

Is your project on an affected rexml?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for rexml

  • LowCVE-2025-58767GHSA-c2f4-jgmc-q2r517 Sept 2025

    REXML has DoS condition when parsing malformed XML file

    Affected
    >=3.3.3 <3.4.2
    Fixed in
    3.4.2
  • MediumCVE-2024-49761GHSA-2rxp-v6pw-ch6m28 Oct 2024

    REXML ReDoS vulnerability

    Affected
    <3.3.9
    Fixed in
    3.3.9
  • HighCVE-2024-43398GHSA-vmwr-mc7x-5vc322 Aug 2024

    REXML denial of service vulnerability

    Affected
    <3.3.6
    Fixed in
    3.3.6
  • MediumCVE-2024-41946GHSA-5866-49gr-22v42 Aug 2024

    REXML DoS vulnerability

    Affected
    <3.3.3
    Fixed in
    3.3.3
  • MediumCVE-2024-41123GHSA-r55c-59qm-vjw61 Aug 2024

    REXML DoS vulnerability

    Affected
    <3.3.3
    Fixed in
    3.3.3
  • MediumCVE-2024-39908GHSA-4xqq-m2hx-25v816 Jul 2024

    REXML denial of service vulnerability

    Affected
    <3.3.2
    Fixed in
    3.3.2
  • MediumCVE-2024-35176GHSA-vg3r-rm7w-2xgh16 May 2024

    REXML contains a denial of service vulnerability

    Affected
    <3.2.7
    Fixed in
    3.2.7
  • HighCVE-2021-28965GHSA-8cr8-4vfw-mr7h30 Apr 2021

    REXML round-trip instability

    Affected
    <3.2.5
    Fixed in
    3.2.5

Is your rexml version vulnerable?

Which of your client projects still run an old rexml?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.