Is rexml 3.1 vulnerable?

RubyGems · 4 releases from 3.1.7.3 to 3.1.9.1 · latest rexml is 3.4.4 · checked 18 Nov 2026

Yes: 7 known advisories

Yes. rexml 3.1.9.1, the last 3.1 release, is affected by 7 known security advisories (2 high, 5 medium), including CVE-2024-43398, CVE-2021-28965, CVE-2024-49761. Upgrade to 3.3.9 or later to fix all of them.

Upgrade with:bundle update --conservative rexml # Gemfile: '>= 3.3.9'

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

Advisories affecting rexml 3.1.9.1

  • 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

Every rexml 3.1.x release

Affected: 3.1.7.3 to 3.1.9.1. Latest rexml: 3.4.4.

VersionKnown advisories
rexml 3.1.9.1CVE-2024-49761, CVE-2024-43398, CVE-2024-41946, CVE-2024-41123, CVE-2024-39908, CVE-2024-35176, CVE-2021-28965
rexml 3.1.9CVE-2024-49761, CVE-2024-43398, CVE-2024-41946, CVE-2024-41123, CVE-2024-39908, CVE-2024-35176, CVE-2021-28965
rexml 3.1.8CVE-2024-49761, CVE-2024-43398, CVE-2024-41946, CVE-2024-41123, CVE-2024-39908, CVE-2024-35176, CVE-2021-28965
rexml 3.1.7.3CVE-2024-49761, CVE-2024-43398, CVE-2024-41946, CVE-2024-41123, CVE-2024-39908, CVE-2024-35176, CVE-2021-28965

Which of your client projects are still on rexml 3.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact rexml version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other rexml versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.