CVE-2013-1856
activesupport Improper Input Validation vulnerability
Also known as GHSA-9c2j-593q-3g82
Mitigation
- Upgrade activesupport to one of 3.1.12, 3.2.13 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package activesupport (>= 3.0.0, < 3.1.12)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- activesupport >= 3.0.0, < 3.1.12
- Fixed in
- 3.1.12, 3.2.13
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.8 (v2.0, NVD)AV:N/AC:M/Au:N/C:P/I:N/A:P
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: Partial
- Integrity impact: None
- Availability impact: Partial
- EPSS
- 2.05% chance of exploitation in 30 days (percentile 82, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
The ActiveSupport::XmlMini_JDOM backend in lib/active_support/xml_mini/jdom.rb in the Active Support component in Ruby on Rails 3.0.x and 3.1.x before 3.1.12 and 3.2.x before 3.2.13, when JRuby is used, does not properly restrict the capabilities of the XML parser, which allows remote attackers to read arbitrary files or cause a denial of service (resource consumption) via vectors involving (1) an external DTD or (2) an external entity declaration in conjunction with an entity reference.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems activesupport | >= 3.0.0, < 3.1.12 | 3.1.12, 3.2.13 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2013-1856. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2013-1856.md Affected: activesupport >= 3.0.0, < 3.1.12 Fixed in: 3.1.12, 3.2.13 Steps: 1. Search this machine and project for activesupport (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- http://support.apple.com/kb/HT5784
- https://groups.google.com/group/rubyonrails-security/msg/6c2482d4ed1545e6?dmode=source&output=gplain
- http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2013-1856.yml
- https://web.archive.org/web/20130609174600/http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- https://web.archive.org/web/20131109010518/http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
- http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released
FAQ
Is CVE-2013-1856 being exploited?
There is no confirmed exploitation: CVE-2013-1856 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.05% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2013-1856?
Medium: CVSS 5.8 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2013-1856?
activesupport >= 3.0.0, < 3.1.12.
Is there a fix for CVE-2013-1856?
Yes. Fixed in 3.1.12, 3.2.13. Upgrade activesupport to one of 3.1.12, 3.2.13 (or later in the same release line).
How do I check if I'm affected by CVE-2013-1856?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.