{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2014-0081","id":"CVE-2014-0081","title":"Rails vulnerable to Cross-site Scripting","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","descriptionLong":"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.","published":"2014-02-20T11:00:00.000Z","updated":"2026-04-16T06:25:36.962863188Z","reserved":"2013-12-03T00:00:00.000Z","status":"PUBLISHED","rejected":false,"assigner":"redhat","metric":null,"metrics":[],"rating":"unrated","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rails","purl":"pkg:gem/rails","ranges":[">=3.0.0 <3.2.17",">=4.0.0 <4.0.3"],"fixed":["3.2.17","4.0.3"],"advisory":"GHSA-m46p-ggm5-5j83"},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.0.0 <3.2.17",">=4.0.0 <4.0.3"],"fixed":["3.2.17","4.0.3"],"advisory":"GHSA-m46p-ggm5-5j83"}],"cwes":["CWE-79"],"aliases":["GHSA-m46p-ggm5-5j83"],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2014-0215.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0306.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.securityfocus.com/bid/65647","tags":["vdb-entry","x_refsource_BID","x_transferred","advisory"]},{"url":"http://www.securitytracker.com/id/1029782","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","advisory"]},{"url":"http://openwall.com/lists/oss-security/2014/02/18/8","tags":["mailing-list","x_refsource_MLIST","x_transferred","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-02/msg00081.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory","web"]},{"url":"http://secunia.com/advisories/57376","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","report"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ","tags":["mailing-list","x_refsource_MLIST","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0081","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/08d0a11a3f62718d601d39e617c834759cf59bbb","tags":["web"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0081.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2014-0081.yml","tags":["web"]},{"url":"https://web.archive.org/web/20140911141416/http://www.securitytracker.com/id/1029782","tags":["web"]},{"url":"https://web.archive.org/web/20170307202606/http://www.securityfocus.com/bid/65647","tags":["web"]},{"url":"https://web.archive.org/web/20201207045136/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04032,"epssPercentile":0.908,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2014-0081","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0081","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2014-0081","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m46p-ggm5-5j83","ok":true,"note":"GHSA-m46p-ggm5-5j83"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2014-0081","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}