All vulnerabilities

Servers and applications

CVE-2013-1821

lib/rexml/text.rb in the REXML parser in Ruby before 1.9.3-p392 allows remote attackers to cause a denial of service (memory consumption and crash) via crafted text nodes in an XML document, aka an XML Entity Expansion (XEE) attack.

Severity
Medium 5.0
Published
9 Apr 2013
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
6.9% in the next 30 daysHigher than 94% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · No login needed
Attacker can
Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 2.0
  • Version 2.0.0-rc2
  • Version 2.0.0-rc1
  • Version 1.9.3-p383
All 13 release lines
  • Every version up to 1.9.3
  • Version 1.9
  • Version 1.9.1
  • Version 1.9.2
  • Version 1.9.3
  • Version 1.9.3-p0
  • Version 1.9.3-p125
  • Version 1.9.3-p194
  • Version 1.9.3-p286
  • Version 1.9.3-p383
  • Version 2.0.0-rc1
  • Version 2.0.0-rc2
  • Version 2.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2013-1821
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2013-1821