---
title: "CVE-2009-4214\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2009-4214?format=md
keywords: index, follow
---

# CVE-2009-4214

Publication date 7 December 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| rails | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Ignored end of life |
| 9.04 jaunty | Ignored end of life |
| 8.10 intrepid | Ignored end of life, was needed |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2009-4214?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| rails | * Vendor:   <http://www.debian.org/security/2011/dsa-2301> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4214)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2009-4214)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2009-4214)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2009-4214)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2009-4214>
