CVE-2014-0081
Rails vulnerable to Cross-site Scripting
Also known as GHSA-m46p-ggm5-5j83
Mitigation
- Upgrade rails to one of 3.2.17, 4.0.3 (or later in the same release line).
- Upgrade actionpack to one of 3.2.17, 4.0.3 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package rails (>= 3.0.0, < 3.2.17)
- Projects that depend on RubyGems package actionpack (>= 3.0.0, < 3.2.17)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- rails >= 3.0.0, < 3.2.17; actionpack >= 3.0.0, < 3.2.17
- Fixed in
- 3.2.17, 4.0.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v2.0, NVD)AV:N/AC:M/Au:N/C:N/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: None
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 4.03% chance of exploitation in 30 days (percentile 91, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Multiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.17, 4.0.x before 4.0.3, and 4.1.x before 4.1.0.beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems rails | >= 3.0.0, < 3.2.17 | 3.2.17, 4.0.3 | osv |
| RubyGems actionpack | >= 3.0.0, < 3.2.17 | 3.2.17, 4.0.3 | 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-2014-0081. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2014-0081.md Affected: rails >= 3.0.0, < 3.2.17; actionpack >= 3.0.0, < 3.2.17 Fixed in: 3.2.17, 4.0.3 Steps: 1. Search this machine and project for rails (RubyGems), actionpack (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://www.securityfocus.com/bid/65647
- http://www.securitytracker.com/id/1029782
- http://openwall.com/lists/oss-security/2014/02/18/8
- http://secunia.com/advisories/57376
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0081.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2014-0081.yml
- https://web.archive.org/web/20140911141416/http://www.securitytracker.com/id/1029782
- https://web.archive.org/web/20170307202606/http://www.securityfocus.com/bid/65647
- https://web.archive.org/web/20201207045136/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ
FAQ
Is CVE-2014-0081 being exploited?
There is no confirmed exploitation: CVE-2014-0081 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.03% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2014-0081?
Medium: CVSS 4.3 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2014-0081?
rails >= 3.0.0, < 3.2.17; actionpack >= 3.0.0, < 3.2.17.
Is there a fix for CVE-2014-0081?
Yes. Fixed in 3.2.17, 4.0.3. Upgrade rails to one of 3.2.17, 4.0.3 (or later in the same release line). Upgrade actionpack to one of 3.2.17, 4.0.3 (or later in the same release line).
How do I check if I'm affected by CVE-2014-0081?
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.