{ "canonical_id": "rails--CVE-2009-4214", "system_id": "rails", "display_name": "Ruby on Rails", "category": "frameworks", "advisory_mode": "core", "title": "Moderate severity vulnerability that affects rails", "summary": "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.", "published_at": "2017-10-24T18:33:38Z", "updated_at": "2025-04-09T20:05:53.148849Z", "severity": "medium", "cvss_score": 4.3, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://nvd.nist.gov/vuln/detail/CVE-2009-4214", "secondary_source_urls": [ "http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5", "https://github.com/advisories/GHSA-9p3v-wf2w-v29c", "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2009-4214.yml", "http://github.com/rails/rails", "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", "http://secunia.com/advisories/38915", "http://support.apple.com/kb/HT4077", "http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released", "http://www.debian.org/security/2011/dsa-2260", "http://www.debian.org/security/2011/dsa-2301", "http://www.openwall.com/lists/oss-security/2009/11/27/2", "http://www.openwall.com/lists/oss-security/2009/12/08/3", "http://www.securityfocus.com/bid/37142", "http://www.securitytracker.com/id?1023245", "http://www.vupen.com/english/advisories/2009/3352" ], "aliases": [ "CVE-2009-4214", "GHSA-9p3v-wf2w-v29c" ], "cve_ids": [ "CVE-2009-4214" ], "ghsa_ids": [ "GHSA-9p3v-wf2w-v29c" ], "osv_ids": [ "GHSA-9p3v-wf2w-v29c" ], "affected_versions": [ "0.10.0", "0.10.1", "0.11.0", "0.11.1", "0.12.0", "0.12.1", "0.13.0", "0.13.1", "0.14.1", "0.14.2", "0.14.3", "0.14.4", "0.8.0", "0.8.5", "0.9.0", "0.9.1", "0.9.2", "0.9.3", "0.9.4", "0.9.4.1", "2.3.2", "2.3.3", "2.3.4", "introduced=0, fixed<2.2.2", "introduced=2.3.0, fixed<2.3.5" ], "fixed_versions": [ "2.2.2", "2.3.5" ], "package_name": "rails", "render_markdown": true, "case_path": "07-framework-security/frameworks/rails/cases/rails-cve-2009-4214.md", "secure_code_topics": [ "xss-output-encoding", "file-upload-validation", "authz-server-side-recheck", "token-cookie-storage" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "OSV Rails", "NVD Ruby on Rails" ], "source_kinds": [ "osv-batch", "nvd-search" ], "candidate_count": 2 } }