CVE-2009-4214
mediumpriority · track · 18EPSS 0.030 · 87 %ileEUUSEPSS · scored 2026-10-27
Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–4.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (56)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9p3v-wf2w-v29cModerate severity vulnerability that affects rails2017-10-24ghsa · osvUS
Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (30)
External citations — patches, advisories, analysis.
- http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5enisa_euvd
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1enisa_euvd
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlenisa_euvd
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.htmlenisa_euvd
- http://secunia.com/advisories/37446enisa_euvd
- http://secunia.com/advisories/38915enisa_euvd
- http://support.apple.com/kb/HT4077enisa_euvd
- http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-releasedenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan