{"cve":"CVE-2009-4214","nvd":{"published":"2009-12-07T17:30:00.217","modified":"2026-06-16T23:13:15.450","status":"Modified","description":"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_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5","http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1","http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html","http://secunia.com/advisories/37446"],"products":["rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T19:54:26.868835795+00:00"},"epss":{"cve":"CVE-2009-4214","score":0.03022,"percentile":0.87456,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9p3v-wf2w-v29c","url":"https://osv.dev/vulnerability/GHSA-9p3v-wf2w-v29c","summary":"Moderate severity vulnerability that affects rails","modified":"2025-04-09T20:05:53.148849Z","packages":[{"ecosystem":"RubyGems","name":"rails","purl":"pkg:gem/rails","ranges":["<2.2.2"],"fixed":["2.2.2"]},{"ecosystem":"RubyGems","name":"rails","purl":"pkg:gem/rails","ranges":[">=2.3.0 <2.3.5"],"fixed":["2.3.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}